根据SFC找不到STEP_ID修改

master
赵嘉伟 3 years ago
parent aadea78601
commit 1319c54773

@ -219,7 +219,7 @@ public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, Abn
//获取当前时间 //获取当前时间
LocalDateTime now = LocalDateTime.now(); LocalDateTime now = LocalDateTime.now();
String site = CommonMethods.getSite(); String site = CommonMethods.getSite();
if(StringUtils.isBlank(abnormalBill.getStepId())){ if(StringUtils.isBlank(abnormalBill.getStepId()) && !StringUtil.isBlank(abnormalBill.getSfc())){
throw new BaseException("根据SFC找不到StepId"); throw new BaseException("根据SFC找不到StepId");
} }
if(!StringUtils.isBlank(abnormalBill.getObjectBo())){ if(!StringUtils.isBlank(abnormalBill.getObjectBo())){

Loading…
Cancel
Save