Commit ec15822a by zhanghj

V1.5.0--提交邮件发送bug修复

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@25011 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent fad4975a
......@@ -4114,13 +4114,13 @@ public class OrderServiceImpl implements IOrderService {
sysOrderDevice.getInstallLocation() == null ? "" : sysOrderDevice.getInstallLocation());
mapDevice.put("mechanicName", mechanicName);
mapDevice.put("mechanicNumberPhone", mechanicNumberPhone);
String newSn = null;
String newSn = "";
if (ifRepair && repairType ==1 ) {
Integer orderDeviceId = sysOrderDevice.getId();
SysOrderDevice orderDevice = orderDeviceDao.selectByPrimaryKey(orderDeviceId);
newSn = orderDevice.getDeviceNo();
}
mapDevice.put("newSn", newSn);
mapDevice.put("newSn", newSn == null ? "" : newSn);
mapDevice.put("newStandNo", "");
mapDevice.put("repairType", repairTypeName);
mapDevice.put("serviceName", providerName);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!