Commit de921579 authored by 332784038@qq.com's avatar 332784038@qq.com

Merge branch 'master-fix' into dev

parents 9dc9f2d6 e868005e
...@@ -552,6 +552,8 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper, ...@@ -552,6 +552,8 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
dbItem.setValidateStartDate(productPrice.getValidateStartDate()); dbItem.setValidateStartDate(productPrice.getValidateStartDate());
dbItem.setValidateEndDate(productPrice.getValidateEndDate()); dbItem.setValidateEndDate(productPrice.getValidateEndDate());
dbItem.setNeedOrderInquiry(productPrice.getNeedOrderInquiry());
dbItem.setNeedBook(productPrice.getNeedBook()); dbItem.setNeedBook(productPrice.getNeedBook());
dbItem.setDayLimit(productPrice.getDayLimit()); dbItem.setDayLimit(productPrice.getDayLimit());
dbItem.setContainerLocation(productPrice.getContainerLocation()); dbItem.setContainerLocation(productPrice.getContainerLocation());
......
...@@ -1674,6 +1674,15 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements ...@@ -1674,6 +1674,15 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
templateParams.put("marks", marks); templateParams.put("marks", marks);
switch (smsSceneEnum) { switch (smsSceneEnum) {
case SHIPMENT_CABINET: case SHIPMENT_CABINET:
BoxCabinetDO boxCabinetDO = boxCabinetService.getByShipmentId(boxDO.getId());
if (Objects.nonNull(boxCabinetDO) && Objects.nonNull(boxCabinetDO.getLdBoxTime())) {
DateTime ldBoxTime = DateTime.of(boxCabinetDO.getLdBoxTime());
// 这里需要重置时间参数,这里的时间参数为填写的实际装柜时间
templateParams.put("date", DateUtils.formatDateTime(ldBoxTime));
templateParams.put("year", ldBoxTime.year());
templateParams.put("month", ldBoxTime.month() + 1);
templateParams.put("day", ldBoxTime.dayOfMonth());
}
// 装柜通知 // 装柜通知
if (orderNoList.size() > 1) { if (orderNoList.size() > 1) {
templateCode = SmsSceneEnum.SHIPMENT_CABINETS.getTemplateCode(); templateCode = SmsSceneEnum.SHIPMENT_CABINETS.getTemplateCode();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment