Commit 3a441445 by 杨林龙

优化邮件显示内容

1 parent 69c70b66
......@@ -495,11 +495,15 @@ public class WorkOrderService {
if (StringUtils.isEmpty(order.getServiceLinker())) {
content.append("姓名:").append("--").append(";\n");
} else {
content.append("姓名:").append(order.getServiceLinker()).append(";\n");
content.append("姓名:").append(woVehicle.getLesseeName()).append(";\n");
}
content.append("性别:").append("--").append(";\n");
content.append("联系电话:").append(order.getServiceLinkerPhone()).append(";\n");
if (StringUtils.isEmpty(woVehicle.getLesseePhone())) {
content.append("联系电话:").append("--").append(";\n");
} else {
content.append("联系电话:").append(woVehicle.getLesseePhone()).append(";\n");
}
if (StringUtils.isEmpty(woVehicle.getPlateNo())) {
content.append("车牌号:").append("--").append(";\n");
} else {
......@@ -1315,7 +1319,7 @@ public class WorkOrderService {
return;
}
for (VehicleDevice vehicleDevice:devices) {
for (VehicleDevice vehicleDevice : devices) {
try {
deviceService.updateDeviceActived(vehicleDevice.getSn(), actived);
} catch (Exception e) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!