|
|
@ -451,7 +451,7 @@ public class FlowTaskService extends MybatisBaseService<FlowTaskMapper, FlowTask |
|
|
|
.includeProcessVariables() |
|
|
|
.includeTaskLocalVariables(); |
|
|
|
if(StringUtils.isNotBlank(orgPath)){ |
|
|
|
// or.taskVariableValueEquals("orgPath", orgPath);
|
|
|
|
or.taskVariableValueLike("orgPath", "%" + orgPath + "%"); |
|
|
|
} |
|
|
|
//.taskCandidateGroupIn(roleSidList)
|
|
|
|
or.taskAssigneeLike("%" + userSid + "%") |
|
|
@ -1865,7 +1865,7 @@ public class FlowTaskService extends MybatisBaseService<FlowTaskMapper, FlowTask |
|
|
|
.includeProcessVariables() |
|
|
|
; |
|
|
|
if(StringUtils.isNotBlank(orgPath)){ |
|
|
|
or.taskVariableValueEquals("orgPath", orgPath); |
|
|
|
or.taskVariableValueLike("orgPath", "%" + orgPath + "%"); |
|
|
|
} |
|
|
|
or.taskAssigneeLike("%" + userSid + "%") |
|
|
|
.orderByTaskCreateTime().desc(); |
|
|
|