This commit is contained in:
SunYF
2026-10-26 16:32:35 +08:00
parent 4b14f9540a
commit f86feb2271
99 changed files with 1652 additions and 521 deletions
@@ -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