|
@@ -372,7 +372,7 @@ public class FlowTaskService {
|
|
|
todoTaskQuery.processVariableValueLike ( FlowableConstant.TITLE, "%" + flow.getTitle () + "%");
|
|
|
}
|
|
|
if (StringUtils.isNotEmpty(flow.getAssigneeId())) {
|
|
|
- todoTaskQuery.processVariableValueEquals ( flow.getAssigneeId());
|
|
|
+ todoTaskQuery.processVariableValueLike ( FlowableConstant.USERNAME,"%"+ flow.getAssigneeId()+"%");
|
|
|
}
|
|
|
|
|
|
|
|
@@ -431,7 +431,7 @@ public class FlowTaskService {
|
|
|
histTaskQuery.processVariableValueLike ( FlowableConstant.TITLE, "%" + act.getTitle ( ) + "%" );
|
|
|
}
|
|
|
if (StringUtils.isNotEmpty(act.getAssigneeId())) {
|
|
|
- histTaskQuery.processVariableValueEquals ( act.getAssigneeId());
|
|
|
+ histTaskQuery.processVariableValueLike (FlowableConstant.USERNAME,"%"+ act.getAssigneeId()+"%");
|
|
|
}
|
|
|
|
|
|
// 查询总数
|