|
@@ -1869,7 +1869,10 @@ public class TBSopInfoServiceImpl extends ServiceImpl<TBSopInfoMapper, TBSopInfo
|
|
tbCrmDetailService.updateById(tbCrmDetail);
|
|
tbCrmDetailService.updateById(tbCrmDetail);
|
|
tbDingService.resetDingExceptionBySopNo(tbSopInfo.getSopNo());
|
|
tbDingService.resetDingExceptionBySopNo(tbSopInfo.getSopNo());
|
|
tfCustomFlowEntityService.updateById(tfCustomFlowEntity);
|
|
tfCustomFlowEntityService.updateById(tfCustomFlowEntity);
|
|
- tbSopInfoService.sopProxySystemApprove(tfCustomFlowEntity.getFlowId(), tbSopInfo.getSopNo());
|
|
|
|
|
|
+ if (tfCustomFlow.getType() == TFCustomTypeEnum.CLOUD_MARK_SOP_FLOW
|
|
|
|
+ && tfFlowApprove.getSetup().intValue() >= 3) {
|
|
|
|
+ tbSopInfoService.sopProxySystemApprove(tfCustomFlowEntity.getFlowId(), tbSopInfo.getSopNo());
|
|
|
|
+ }
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
|
|
|