提交
This commit is contained in:
@@ -18,7 +18,8 @@ func ListProductProcessesHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
|
||||
page := atoiDefault(q.Get("page"), 0)
|
||||
pageSize := atoiDefault(q.Get("pageSize"), 20)
|
||||
data, err := logic.New(svcCtx).ListProductProcesses(r.Context(),
|
||||
q.Get("productCode"), q.Get("status"), atoiDefault(q.Get("flowId"), 0), q.Get("keyword"), page, pageSize)
|
||||
q.Get("productCode"), q.Get("status"), atoiDefault(q.Get("flowId"), 0), q.Get("keyword"),
|
||||
q.Get("name"), atoiDefault(q.Get("stepMin"), 0), atoiDefault(q.Get("stepMax"), 0), page, pageSize)
|
||||
if err != nil {
|
||||
httpx.Fail(w, 2231, err.Error())
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user