|
|
@ -130,7 +130,7 @@ public class AbnormalPlanServiceImpl extends ServiceImpl<AbnormalPlanMapper, Abn
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void saveAbnormalPlan(AbnormalBillDisposeDto abnormalBillDisposeDto, LocalDateTime now) {
|
|
|
|
public void saveAbnormalPlan(AbnormalBillDisposeDto abnormalBillDisposeDto, LocalDateTime now, String check) {
|
|
|
|
String site = CommonMethods.getSite();
|
|
|
|
String site = CommonMethods.getSite();
|
|
|
|
AbnormalPlan abnormalPlan = new AbnormalPlan();
|
|
|
|
AbnormalPlan abnormalPlan = new AbnormalPlan();
|
|
|
|
String user = CommonMethods.getUser();
|
|
|
|
String user = CommonMethods.getUser();
|
|
|
@ -139,7 +139,9 @@ public class AbnormalPlanServiceImpl extends ServiceImpl<AbnormalPlanMapper, Abn
|
|
|
|
abnormalPlan.setSite(site);
|
|
|
|
abnormalPlan.setSite(site);
|
|
|
|
abnormalPlan.setAbnormalNo(abnormalBillDisposeDto.getAbnormalNo());
|
|
|
|
abnormalPlan.setAbnormalNo(abnormalBillDisposeDto.getAbnormalNo());
|
|
|
|
//未处理
|
|
|
|
//未处理
|
|
|
|
// abnormalPlan.setStatus(Constants.UNTREATED);
|
|
|
|
if (check.equals("true")){
|
|
|
|
|
|
|
|
abnormalPlan.setStatus(Constants.UNTREATED);
|
|
|
|
|
|
|
|
}
|
|
|
|
abnormalPlan.setWorkCenter(abnormalBillDisposeDto.getWorkCenter());
|
|
|
|
abnormalPlan.setWorkCenter(abnormalBillDisposeDto.getWorkCenter());
|
|
|
|
abnormalPlan.setAbnormalMethod(abnormalBillDisposeDto.getAbnormalMethod());
|
|
|
|
abnormalPlan.setAbnormalMethod(abnormalBillDisposeDto.getAbnormalMethod());
|
|
|
|
abnormalPlan.setShopOrder(abnormalBillDisposeDto.getShopOrder());
|
|
|
|
abnormalPlan.setShopOrder(abnormalBillDisposeDto.getShopOrder());
|
|
|
@ -170,7 +172,7 @@ public class AbnormalPlanServiceImpl extends ServiceImpl<AbnormalPlanMapper, Abn
|
|
|
|
abnormalBillDisposeDto.setResrce(abnormalBill.getResrce());
|
|
|
|
abnormalBillDisposeDto.setResrce(abnormalBill.getResrce());
|
|
|
|
abnormalBillDisposeDto.setItemBo(abnormalBill.getItemBo());
|
|
|
|
abnormalBillDisposeDto.setItemBo(abnormalBill.getItemBo());
|
|
|
|
abnormalBillDisposeDto.setNcQty(abnormalBill.getNcQty());
|
|
|
|
abnormalBillDisposeDto.setNcQty(abnormalBill.getNcQty());
|
|
|
|
this.saveAbnormalPlan(abnormalBillDisposeDto,now);
|
|
|
|
this.saveAbnormalPlan(abnormalBillDisposeDto,now,"true");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|