This commit is contained in:
@jyuhsin
2025-09-25 16:53:13 +08:00
parent 3aa3fb612a
commit 077efb395a
@@ -56,7 +56,7 @@ public class FlowCategoryController {
$condition $condition
"""); """);
Cnd cnd = Cnd.NEW(); Cnd cnd = Cnd.NEW();
cnd.andEX(ProcessCategory::getName, "=", name); cnd.and(Cnd.likeEX(ProcessCategory::getName, name));
sql.setCondition(cnd); sql.setCondition(cnd);
Pagination pagination = defineService.listPageMap(pageForm.getPageNumber(), pageForm.getPageSize(), sql); Pagination pagination = defineService.listPageMap(pageForm.getPageNumber(), pageForm.getPageSize(), sql);
return Result.success(pagination); return Result.success(pagination);