Commit 33c2cb15 by 彭祥礼

智能平台推送信息接收增加判断条件并增加一个发送短信调整

parent dc440189
......@@ -99,9 +99,6 @@ public class IntelligentPlatformPushController {
order.setThStatus(status);
order.setOrderStatus(orderStatus);
Integer num = orderMapper.update(order,orderWrapper);
//UPDATE `hhr_order` set th_status = #{status},order_status = #{orderStatus} <where> ${ew.sqlSegment} </where>
//Integer num = orderViewMapper.IntelligentPlatformPush(wrapper, status, orderStatus);
if (num > 0) {
if (type.equals("dkd") || type.equals("rh")) {
Wrapper<OrderView> wrapper1 = new EntityWrapper<>();
......@@ -136,10 +133,6 @@ public class IntelligentPlatformPushController {
orderHistoryMapper.insert(history);
//要加一个短信
SendSmsAndMail.sendSms(list.get(0).getContactNumber(),"", "14");
//Date date = new Date();
//Timestamp createTime = new Timestamp(date.getTime());
//insert into`hhr_order_history`(order_id, status, create_date) values(#{id}, #{status}, #{createTime})
//orderViewMapper.insertOrderHistory(id, status, createTime);
} catch (Exception e) {
log.error("智能平台推送信息接口插入异常",e.getMessage(), e);
}
......
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