Commit 93906df9 by 杨林龙

1.25.0 优化服务安装时间邮件推送

1 parent 9db5aff0
......@@ -495,7 +495,7 @@ public class WorkOrderService {
content.append("联系人:").append(order.getShopContactor()).append(";\n");
content.append("联系电话:").append(order.getShopTelephone()).append(";\n");
content.append("是否需要安装:").append(order.getNeedInstall().equalsIgnoreCase(TypeConverseEunm.NeedInstallTypeEnum.NEED_INSTALL.getNeedInstallType()) ? TypeConverseEunm.NeedInstallTypeEnum.NEED_INSTALL.getNeedInstallTypeStr() : TypeConverseEunm.NeedInstallTypeEnum.UN_NEED_INSTALL.getNeedInstallTypeStr()).append(";\n");
content.append("期望安装日期:").append(DateUtil.formatDate(order.getServiceTime())).append(";\n");
content.append("期望安装日期:").append(DateUtil.formatDateTime(order.getServiceTime())).append(";\n");
StringBuilder installationAreaBuilder = new StringBuilder();
installationAreaBuilder.append(StringUtils.isEmpty(order.getProvince()) ? "" : order.getProvince()).append(StringUtils.isEmpty(order.getCity()) ? "" : order.getCity()).append(StringUtils.isEmpty(order.getDistrict()) ? "" : order.getDistrict());
if (StringUtils.isEmpty(installationAreaBuilder.toString())) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!