我的申请模糊查询bug?

This commit is contained in:
wangliwen 2022-05-26 18:43:00 +08:00
parent 6d11d96360
commit 7429fb7a31
2 changed files with 5 additions and 4 deletions

View File

@ -252,7 +252,8 @@ public class ActHistoryService {
params.put("startBy", SecurityUser.getUserId().toString());
PageData<ProcessInstanceDTO> pageData = this.getHistoryProcessInstancePage(params);
if (params.containsKey("name") && StringUtils.isNotBlank(params.get("name").toString())) {
params.put("limit", String.valueOf(pageData.getTotal()));
// TODO 为啥这么处理
// params.put("limit", String.valueOf(pageData.getTotal()));
pageData = this.getHistoryProcessInstancePage(params);
}
List<ProcessInstanceDTO> list = pageData.getList();