Browse Source

fix:增加一个库存品 批量查看二维码的功能2

dist.1.3.0
pref_mail@163.com 5 months ago
parent
commit
3a2ce377b3
  1. 10
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockListServiceImpl.java

10
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockListServiceImpl.java

@ -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());

Loading…
Cancel
Save