|
@ -575,6 +575,7 @@ public class SysSalesShippingInformServiceImpl implements ISysSalesShippingInfor |
|
|
|
|
|
|
|
|
SysSalesShippingInform sysSalesShippingInform = sysSalesShippingInformMapper.selectSysSalesShippingInformByCode(outOrderCode); |
|
|
SysSalesShippingInform sysSalesShippingInform = sysSalesShippingInformMapper.selectSysSalesShippingInformByCode(outOrderCode); |
|
|
String shippingInformationType = "0"; |
|
|
String shippingInformationType = "0"; |
|
|
|
|
|
//生成出货资料
|
|
|
insertShippingInformation(outOrderCode,shippingInformationType,sysSalesShippingInform); |
|
|
insertShippingInformation(outOrderCode,shippingInformationType,sysSalesShippingInform); |
|
|
String salesOrderCode = sysSalesShippingInform.getSalesOrderCode(); |
|
|
String salesOrderCode = sysSalesShippingInform.getSalesOrderCode(); |
|
|
|
|
|
|
|
@ -640,9 +641,18 @@ public class SysSalesShippingInformServiceImpl implements ISysSalesShippingInfor |
|
|
FileDownloadUtils fileDownloadUtils = new FileDownloadUtils(); |
|
|
FileDownloadUtils fileDownloadUtils = new FileDownloadUtils(); |
|
|
try { |
|
|
try { |
|
|
String fileRelativePath = fileDownloadUtils.getFileRelativePath(fileName); |
|
|
String fileRelativePath = fileDownloadUtils.getFileRelativePath(fileName); |
|
|
|
|
|
if (StringUtils.isEmpty(outOrderCode)){ |
|
|
|
|
|
log.warn("出库单号为空:{}",outOrderCode); |
|
|
|
|
|
throw new RuntimeException("出库单号为空,请检查"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SysSalesShippingInform sysSalesShippingInform = sysSalesShippingInformMapper.selectSysSalesShippingInformByCode(outOrderCode); |
|
|
SysSalesShippingInform sysSalesShippingInform = sysSalesShippingInformMapper.selectSysSalesShippingInformByCode(outOrderCode); |
|
|
|
|
|
|
|
|
|
|
|
String shippingInformationType = "0"; |
|
|
|
|
|
//生成出货资料
|
|
|
|
|
|
insertShippingInformation(outOrderCode,shippingInformationType,sysSalesShippingInform); |
|
|
|
|
|
|
|
|
String salesOrderCode = sysSalesShippingInform.getSalesOrderCode(); |
|
|
String salesOrderCode = sysSalesShippingInform.getSalesOrderCode(); |
|
|
if (StringUtils.isEmpty(salesOrderCode)){ |
|
|
if (StringUtils.isEmpty(salesOrderCode)){ |
|
|
log.warn("销售订单号为空,请检查:{}", salesOrderCode); |
|
|
log.warn("销售订单号为空,请检查:{}", salesOrderCode); |
|
|