领用审批优化,加上会签的逻辑

This commit is contained in:
马三炮 2025-03-06 11:01:00 +08:00
parent ae9dcf37c2
commit 825e65fe0d
2 changed files with 2 additions and 2 deletions

View File

@ -284,7 +284,7 @@ public class LeaseApplyInfo extends BaseEntity{
@ApiModelProperty(value = "设备id")
private Long maId;
@ApiModelProperty(value = "所属记录")
@ApiModelProperty(value = "流程节点签名方式 0:或签 1:会签")
private Integer nodeSignType;

View File

@ -395,7 +395,7 @@ public class LeaseTaskServiceImpl implements ILeaseTaskService {
log.info("当前节点为{}",leaseApplyInfoNew.getNodeId());
SysWorkflowRecordHistory sysWorkflowRecordHistory = sysWorkflowRecordHistoryMapper.getWorkflowRecordHistoryByRecordId(leaseApplyInfoNew.getRecordId());
leaseApplyInfoNew.setNodeId(sysWorkflowRecordHistory.getNodeId());
if (sysWorkflowRecordHistory.getNodeSort()==1){
if (1==leaseApplyInfoNew.getNodeSignType() && sysWorkflowRecordHistory.getNodeSort()==1){
leaseApplyInfoNew.setNodeId(sysWorkflowRecordHistory.getNextNodeId());
}
String configValue = sysWorkflowConfigMapper.selectConfigValueByNodeId(leaseApplyInfoNew.getNodeId());