|
|
|
@ -513,11 +513,12 @@ public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, Abn
|
|
|
|
|
AbnormalBillDispose abnormalBillDispose1 = abnormalBillDisposeMapper.selectById(abnormalBillDispose.getHandle());
|
|
|
|
|
abnormalPlanService.saveAbnormalPlan(abnormalBill2,abnormalBillDispose1,now);
|
|
|
|
|
}
|
|
|
|
|
//判断该异常解决方案是否是让步放行、配作,如果是,就调用孙豪的方法
|
|
|
|
|
if(Constants.CONCESSION.equals(abnormalBillDispose.getAbnormalMethod()) ||
|
|
|
|
|
Constants.MATCH.equals(abnormalBillDispose.getAbnormalMethod())){
|
|
|
|
|
//判断该异常解决方案是否是让步放行、配作,并且关联来源不是空,如果是,就调用孙豪的方法
|
|
|
|
|
if((Constants.CONCESSION.equals(abnormalBillDispose.getAbnormalMethod()) ||
|
|
|
|
|
Constants.MATCH.equals(abnormalBillDispose.getAbnormalMethod()))
|
|
|
|
|
&& !StringUtil.isBlank(abnormalBill2.getObjectBo())){
|
|
|
|
|
try{
|
|
|
|
|
this.creatInspectionTask(site,abnormalBill2.getObjectBo(),abnormalBill2.getSfc(),abnormalBill2.getStepId(),null);
|
|
|
|
|
this.creatInspectionTask(site,abnormalBill2.getObjectBo(),abnormalBill2.getSfc(),abnormalBill2.getStepId(),AnomalyConstant.AnomalyMethod.msg(abnormalBillDispose.getAbnormalMethod()));
|
|
|
|
|
}catch (Exception e){
|
|
|
|
|
throw new BaseException("createInspectionTask方法报错,"+e.getMessage());
|
|
|
|
|
}
|
|
|
|
|