update 标准预警多日期顺序排序
This commit is contained in:
+2
-2
@@ -128,10 +128,10 @@ public class ProcessHandleServiceImpl implements IProcessHandleService {
|
||||
processNodeLinkService.saveNodeUserLink(processDefinitionId, processInstanceId, userInfoMap);
|
||||
}
|
||||
if (pass) { // 通过
|
||||
runtimeService.setVariable(processInstanceId, "pass", true);
|
||||
runtimeService.setVariableLocal(processInstanceId, "pass", true);
|
||||
basicTaskInfoDTO.setCommitFlag(CommitFlagEnum.PASS.getValue());
|
||||
} else { // 驳回
|
||||
runtimeService.setVariable(processInstanceId, "pass", false);
|
||||
runtimeService.setVariableLocal(processInstanceId, "pass", false);
|
||||
basicTaskInfoDTO.setCommitFlag(CommitFlagEnum.REJECT.getValue());
|
||||
}
|
||||
// 更新审批记录表
|
||||
|
||||
+7
-1
@@ -108,6 +108,12 @@
|
||||
</foreach>
|
||||
</if>
|
||||
ORDER BY
|
||||
dataInfo.implementation_date DESC
|
||||
dataInfo.implementation_date DESC,
|
||||
<if test="param.newModelImplementationDate != null and param.newModelImplementationDate != ''">
|
||||
dataInfo.new_model_implementation_date ASC
|
||||
</if>
|
||||
<if test="param.onTheProductionDate != null and param.onTheProductionDate != ''">
|
||||
dataInfo.on_the_production_date ASC
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user