|
|
|
@ -62,6 +62,8 @@ public class MesSortShippingCheckService implements IMesSortShippingCheckService
|
|
|
|
|
private IMesJisShippingService jisShippingService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private MesLoadingListDetailRepository vehiclesOrderDetailRepository;
|
|
|
|
|
@Autowired
|
|
|
|
|
private MesLoadingListRepository vehiclesOrderRepository;
|
|
|
|
|
@Override
|
|
|
|
|
public MesSortShippingCheckModel queryShippingOrderNo(MesShippingOrderManagement shippingOrderManagement) {
|
|
|
|
|
|
|
|
|
@ -434,6 +436,17 @@ public class MesSortShippingCheckService implements IMesSortShippingCheckService
|
|
|
|
|
}
|
|
|
|
|
//保存当前发运单明细报工
|
|
|
|
|
jisShippingRepository.saveAll(jisShippingList);
|
|
|
|
|
|
|
|
|
|
if(!StringUtil.isEmpty(vehiclesOrderDetail)){
|
|
|
|
|
MesLoadingList loadingList = vehiclesOrderRepository.getById(vehiclesOrderDetail.getPid());
|
|
|
|
|
if (!StringUtils.isEmpty(loadingList)) {
|
|
|
|
|
loadingList.setStatus(MesExtEnumUtil.MES_LOADING_STATUS.ASN.getValue());
|
|
|
|
|
ConvertBean.serviceModelUpdate(loadingList, userName);
|
|
|
|
|
vehiclesOrderRepository.save(loadingList);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|