|
|
@ -765,6 +765,7 @@ public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, Abn
|
|
|
|
abnormalBill.setStatus(Constants.NEW);
|
|
|
|
abnormalBill.setStatus(Constants.NEW);
|
|
|
|
abnormalBill.setSfc(sfc);
|
|
|
|
abnormalBill.setSfc(sfc);
|
|
|
|
abnormalBill.setShopOrder(shopOrder);
|
|
|
|
abnormalBill.setShopOrder(shopOrder);
|
|
|
|
|
|
|
|
//根据工单找itemBo,并放到异常单里面
|
|
|
|
if(shopOrder != null ){
|
|
|
|
if(shopOrder != null ){
|
|
|
|
ShopOrder shopOrder1 = shopOrderMapper.selectById(HandleEnum.SHOP_ORDER.getHandle(site, shopOrder));
|
|
|
|
ShopOrder shopOrder1 = shopOrderMapper.selectById(HandleEnum.SHOP_ORDER.getHandle(site, shopOrder));
|
|
|
|
abnormalBill.setItemBo(shopOrder1.getItemBo());
|
|
|
|
abnormalBill.setItemBo(shopOrder1.getItemBo());
|
|
|
|