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