Browse Source

1.市配单子修改

training
zhenghaoyu 1 year ago
parent
commit
f5426b30f5
  1. 4
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java

4
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java

@ -5626,6 +5626,7 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
for (DistributionReservationEntity distributionReservationEntity : distributionReservationEntityList) { for (DistributionReservationEntity distributionReservationEntity : distributionReservationEntityList) {
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
log.debug(">>>> distributionReservationEntity {}", distributionReservationEntity); log.debug(">>>> distributionReservationEntity {}", distributionReservationEntity);
map.put("车次号", byId.getTrainNumber());
map.put("配送单号", distributionReservationEntity.getReservationCode()); map.put("配送单号", distributionReservationEntity.getReservationCode());
String fileTypeName = QRCodeUtil.createCodeToFile(distributionReservationEntity.getReservationCode()); String fileTypeName = QRCodeUtil.createCodeToFile(distributionReservationEntity.getReservationCode());
map.put("配送单二维码", QRCodeUtil.getEmpAutograph(fileTypeName)); map.put("配送单二维码", QRCodeUtil.getEmpAutograph(fileTypeName));
@ -5639,7 +5640,8 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
String period = DictBizCache.getValue("period_of_time", periodOfTime); String period = DictBizCache.getValue("period_of_time", periodOfTime);
map.put("送货日期", DateUtil.format(distributionReservationEntity.getReservationDate(), "yyyy-MM-dd") + " " +period); map.put("预约单创建时间", DateUtil.format(distributionReservationEntity.getCreateTime(), "yyyy-MM-dd HH:mm:ss"));
map.put("预约单送货日期", DateUtil.format(distributionReservationEntity.getReservationDate(), "yyyy-MM-dd") + " " +period);
map.put("客户名称", distributionReservationEntity.getConsignee()); map.put("客户名称", distributionReservationEntity.getConsignee());

Loading…
Cancel
Save