Commit cb429b9c by duanhq

订单列表查询修复 v 1.2.0

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@21987 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent aa4035f0
...@@ -519,7 +519,7 @@ public class IndentServiceImpl implements IndentService { ...@@ -519,7 +519,7 @@ public class IndentServiceImpl implements IndentService {
/* /*
* 当前订货单是广联发货还是服务商, * 当前订货单是广联发货还是服务商,
* 若为服务商发货,技工确认收货,则服务商库存减少,技工库存增加 * 若为服务商发货,技工确认收货,则服务商库存减少,技工库存增加
* 若为广联发货,增加接收人库存;若技工所属服务商没有库存记录则增加 * 若为广联发货,增加接收人库存;添加技工所属服务商库存记录
*/ */
Integer serviceId; Integer serviceId;
JSONObject obj = userClient.getMechanicSP(userId); JSONObject obj = userClient.getMechanicSP(userId);
......
...@@ -1155,6 +1155,7 @@ ...@@ -1155,6 +1155,7 @@
LEFT JOIN sys_user sp ON so.shop_id = sp.id LEFT JOIN sys_user sp ON so.shop_id = sp.id
LEFT JOIN sys_user sm ON so.mechanic_id = sm.id LEFT JOIN sys_user sm ON so.mechanic_id = sm.id
LEFT JOIN sys_dict_data dd on so.install_device_type = dd.data_key LEFT JOIN sys_dict_data dd on so.install_device_type = dd.data_key
LEFT JOIN sys_dict_data sd on so.reserve_install_reason = sd.data_key
LEFT JOIN sys_merchant ssm ON so.shop_id = ssm.user_id LEFT JOIN sys_merchant ssm ON so.shop_id = ssm.user_id
LEFT JOIN sys_area d ON d.id = so.district LEFT JOIN sys_area d ON d.id = so.district
LEFT JOIN sys_area c ON d.parent_id = c.id LEFT JOIN sys_area c ON d.parent_id = c.id
......
...@@ -132,7 +132,7 @@ public class CommonController { ...@@ -132,7 +132,7 @@ public class CommonController {
public ResultObject sendIndentCheckPassSms(@RequestParam("phone") String phone, @RequestParam("indentNo") String indentNo) throws IOException { public ResultObject sendIndentCheckPassSms(@RequestParam("phone") String phone, @RequestParam("indentNo") String indentNo) throws IOException {
SmsUtil smsUtil = new SmsUtil(); SmsUtil smsUtil = new SmsUtil();
try { try {
String msgContent = MessageFormat.format("你的订货单通过审核了,订单号:{0}",indentNo ); String msgContent = MessageFormat.format("你的订货单通过审核了,订单号:{0}。",indentNo );
smsUtil.send(phone, msgContent, PropertiesUtil.getProperty(Constants.SMS_CHECK_INDENT_SOURCE)); smsUtil.send(phone, msgContent, PropertiesUtil.getProperty(Constants.SMS_CHECK_INDENT_SOURCE));
} catch (Exception e) { } catch (Exception e) {
logger.error(phone + "发送订货单审核通过短信失败" + e.getMessage(), e); logger.error(phone + "发送订货单审核通过短信失败" + e.getMessage(), e);
...@@ -155,7 +155,7 @@ public class CommonController { ...@@ -155,7 +155,7 @@ public class CommonController {
public ResultObject sendDeviceSms(@RequestParam("phone") String phone, @RequestParam("indentNo") String indentNo) throws IOException { public ResultObject sendDeviceSms(@RequestParam("phone") String phone, @RequestParam("indentNo") String indentNo) throws IOException {
SmsUtil smsUtil = new SmsUtil(); SmsUtil smsUtil = new SmsUtil();
try { try {
String msgContent = MessageFormat.format("你的订货单已经发货了,订单号:{0}",indentNo ); String msgContent = MessageFormat.format("你的订货单已经发货了,订单号:{0}。",indentNo );
smsUtil.send(phone, msgContent, PropertiesUtil.getProperty(Constants.SMS_SEND_DEVICE_SOURCE)); smsUtil.send(phone, msgContent, PropertiesUtil.getProperty(Constants.SMS_SEND_DEVICE_SOURCE));
} catch (Exception e) { } catch (Exception e) {
logger.error(phone + "发送已发货短信失败" + e.getMessage(), e); logger.error(phone + "发送已发货短信失败" + e.getMessage(), e);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!