fix(89221): 标准解读流程转办问题

This commit is contained in:
yjz
2024-08-22 09:27:33 +08:00
parent 65d70e3925
commit 273200faff
2 changed files with 3 additions and 3 deletions
@@ -199,7 +199,7 @@ public class ProcessAll {
@TableField(exist = false)
private String countersignFlag;
@ApiModelProperty(value = "标准主解读人分发节点是否显示驳回/转办(字典:1:是,0:否)")
@ApiModelProperty(value = "是否显示驳回/转办(字典:1:是,0:否)")
@Dict(dicCode = "yn")
@TableField(exist = false)
private String showRejectTransition = "1";
@@ -730,7 +730,7 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe
&& YesOrNoEnum.NO.getValue().equals(processStandardInterpret.getChooseClause())){
processStandardInterpretClauseList = new ArrayList<>();
}
// 是否显示驳回
// 是否显示驳回/转办
// 查询是否存在子流程
int count = processApprovalRecordService.count(
new LambdaQueryWrapper<ProcessApprovalRecord>()
@@ -738,7 +738,7 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe
processApprovalRecord.getProcessInstanceId())
.isNotNull(ProcessApprovalRecord::getParentTaskId));
if (count > 0 || StandardInterpretCommon.MASTER_INTERPRET_AGAIN_DISTRIBUTE.equals(node)){
processStandardInterpret.setShowReject(YesOrNoEnum.NO.getValue());
processStandardInterpret.setShowRejectTransition(YesOrNoEnum.NO.getValue());
}
}