feat: 流程详情节点列表支持状态筛选

This commit is contained in:
2024-05-30 16:10:58 +08:00
parent a2945a80c9
commit cef6d1aaf4
@@ -54,6 +54,7 @@ public class ProcessApprovalRecordService extends ServiceImpl<ProcessApprovalRec
if (StringUtils.isNotBlank(processApprovalRecord.getFinishFlagSearch())){
wrapper.in("finish_flag", Arrays.asList(processApprovalRecord.getFinishFlagSearch().split(",")));
}
wrapper.eq(processApprovalRecord.getFinishFlag() != null, "finish_flag", processApprovalRecord.getFinishFlag());
wrapper.eq("over_due", YesOrNoEnum.NO.getValue());
wrapper.eq("process_instance_id", processApprovalRecord.getProcessInstanceId());
wrapper.last("ORDER BY IF(ISNULL(create_time), 1, 0) DESC ,create_time DESC, end_time DESC");