|
|
@ -897,8 +897,18 @@ public class SysSalesShippingInformServiceImpl implements ISysSalesShippingInfor |
|
|
|
FileDownloadUtils fileDownloadUtils = new FileDownloadUtils(); |
|
|
|
try { |
|
|
|
String fileRelativePath = fileDownloadUtils.getFileRelativePath(fileName); |
|
|
|
if (StringUtils.isEmpty(outOrderCode)){ |
|
|
|
log.warn("出货单号为空,请检查:{}", outOrderCode); |
|
|
|
throw new RuntimeException("出货单号为空,请检查"); |
|
|
|
} |
|
|
|
|
|
|
|
SysSalesShippingInform sysSalesShippingInform = sysSalesShippingInformMapper.selectSysSalesShippingInformByCode(outOrderCode); |
|
|
|
|
|
|
|
String shippingInformationType = "2"; |
|
|
|
String shippingTemplateType = "出货通知单"; |
|
|
|
//生成出货资料
|
|
|
|
insertShippingInformation(outOrderCode,shippingInformationType,shippingTemplateType,sysSalesShippingInform); |
|
|
|
|
|
|
|
String salesOrderCode = sysSalesShippingInform.getSalesOrderCode(); |
|
|
|
SysMakeOrder sysMakeOrder = sysMakeOrderMapper.selectMakeOrderBySaleNo(salesOrderCode); |
|
|
|
|
|
|
|