|
|
|
@ -116,7 +116,7 @@ public class InvInnerOrderPrintServiceImpl implements InvInnerOrderPrintService
|
|
|
|
|
UdiProductEntity udiProductEntity = udiProductService.findByNameCode(filterUdiRelevance.getNameCode());
|
|
|
|
|
|
|
|
|
|
String udiCode = "#" + udiProductEntity.getNameCode() + "#" + obj.getProductDate() + "#" + obj.getExpireDate() +
|
|
|
|
|
"#" + obj.getBatchNo() + "#" + udiProductEntity.getSerialNo() + "#" + udiProductEntity.getWarehouseCode() + "#" + udiProductEntity.getDeptCode();
|
|
|
|
|
"#" + obj.getBatchNo() + "#" + udiProductEntity.getSerialNo() + "#" + "#" ;
|
|
|
|
|
udiCode = udiCode.replaceAll("#null", "#");
|
|
|
|
|
innerOrderPrintEntity.setUdiCode(udiCode);
|
|
|
|
|
invInnerOrderPrintDao.insert(innerOrderPrintEntity);
|
|
|
|
@ -165,12 +165,10 @@ public class InvInnerOrderPrintServiceImpl implements InvInnerOrderPrintService
|
|
|
|
|
if (innerOrderQRCodeTextPDFTemplateRequest.getOrderId() != null) {
|
|
|
|
|
filterStockprintRequest.setSOrderId(innerOrderQRCodeTextPDFTemplateRequest.getOrderId());
|
|
|
|
|
deleteStPrintTempRequest.setStockOrderFk(innerOrderQRCodeTextPDFTemplateRequest.getOrderId() + "");
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
deleteStPrintTempRequest.setPrintCodeIdFk(innerOrderQRCodeTextPDFTemplateRequest.getQueryId());
|
|
|
|
|
filterStockprintRequest.setId(innerOrderQRCodeTextPDFTemplateRequest.getQueryId());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
innerOrderPdfTempService.delete(deleteStPrintTempRequest);
|
|
|
|
|
List<InnerOrderPrintResponse> stockPrintEntities = invInnerOrderPrintService.filterJoinInnerPrint(filterStockprintRequest);
|
|
|
|
|
if (stockPrintEntities != null && stockPrintEntities.size() > 0) {
|
|
|
|
@ -285,7 +283,7 @@ public class InvInnerOrderPrintServiceImpl implements InvInnerOrderPrintService
|
|
|
|
|
UdiProductEntity udiProductEntity = udiProductService.findByNameCode(filterUdiRelevance.getNameCode());
|
|
|
|
|
|
|
|
|
|
String udiCode = "#" + obj.getNameCode() + "#" + obj.getProductDate() + "#" + obj.getExpireDate() +
|
|
|
|
|
"#" + obj.getBatchNo() + "#" + udiProductEntity.getSerialNo() + "#" + udiProductEntity.getWarehouseCode() + "#" + udiProductEntity.getDeptCode();
|
|
|
|
|
"#" + obj.getBatchNo() + "#" + udiProductEntity.getSerialNo() + "#" + "#" ;
|
|
|
|
|
udiCode = udiCode.replaceAll("#null", "#");
|
|
|
|
|
innerOrderPrintEntity.setUdiCode(udiCode);
|
|
|
|
|
invInnerOrderPrintDao.insert(innerOrderPrintEntity);
|
|
|
|
|