|
|
@ -310,7 +310,7 @@ public class DistributionStockListServiceImpl extends BaseServiceImpl<Distributi |
|
|
|
public OrderPackgeCodeDataVO showInvnetoryPackgeCodes(String orderPackgeCodes) { |
|
|
|
public OrderPackgeCodeDataVO showInvnetoryPackgeCodes(String orderPackgeCodes) { |
|
|
|
|
|
|
|
|
|
|
|
OrderPackgeCodeDataVO orderPackgeCodeDataVO = new OrderPackgeCodeDataVO(); |
|
|
|
OrderPackgeCodeDataVO orderPackgeCodeDataVO = new OrderPackgeCodeDataVO(); |
|
|
|
List<Map> data = new ArrayList<>(); |
|
|
|
List<String> strings = new ArrayList<>(); |
|
|
|
BasicPrintTemplateEntity template = basicPrintTemplateClient.getPrintTemplate(PrintTemplateStatusConstant.daiqueren_11.getValue()); |
|
|
|
BasicPrintTemplateEntity template = basicPrintTemplateClient.getPrintTemplate(PrintTemplateStatusConstant.daiqueren_11.getValue()); |
|
|
|
if (ObjectUtil.isEmpty(template)) { |
|
|
|
if (ObjectUtil.isEmpty(template)) { |
|
|
|
throw new CustomerException("模板内容未找到"); |
|
|
|
throw new CustomerException("模板内容未找到"); |
|
|
@ -365,10 +365,12 @@ public class DistributionStockListServiceImpl extends BaseServiceImpl<Distributi |
|
|
|
String fileTypeName = QRCodeUtil.createCodeToFile(stockListEntity.getOrderCode()); |
|
|
|
String fileTypeName = QRCodeUtil.createCodeToFile(stockListEntity.getOrderCode()); |
|
|
|
map.put("imgType", QRCodeUtil.getEmpAutograph(fileTypeName)); |
|
|
|
map.put("imgType", QRCodeUtil.getEmpAutograph(fileTypeName)); |
|
|
|
} |
|
|
|
} |
|
|
|
data.add(map); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
orderPackgeCodeDataVO.setDataList(data); |
|
|
|
String popHtml = TemplateUtil.popTemplate("库存包件码", map, html); |
|
|
|
|
|
|
|
strings.add(popHtml); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
orderPackgeCodeDataVO.setMoldList(strings); |
|
|
|
return orderPackgeCodeDataVO; |
|
|
|
return orderPackgeCodeDataVO; |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
throw new CustomerException(e.getMessage()); |
|
|
|
throw new CustomerException(e.getMessage()); |
|
|
|