【功能修复】工作流:model name 的模糊查询

This commit is contained in:
YunaiV 2024-12-01 17:36:48 +08:00
parent 75f6eceea7
commit dc1da29452
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ public class BpmModelServiceImpl implements BpmModelService {
public List<Model> getModelList(String name) {
ModelQuery modelQuery = repositoryService.createModelQuery();
if (StrUtil.isNotEmpty(name)) {
modelQuery.modelNameLike(name);
modelQuery.modelNameLike("%" + name + "%");
}
return modelQuery.list();
}