Commit 7523a47d by zhanghj

V1.1.0--修复工订单已超时每隔两分钟重复发订单超时通知bug

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@20827 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 08ef1d94
...@@ -125,7 +125,13 @@ ...@@ -125,7 +125,13 @@
so.id = sowm.order_id so.id = sowm.order_id
AND AND
sowm.msg_type = 6 sowm.msg_type = 6
and so.reassign_mechanic_time > sowm.create_time and so.reassign_mechanic_time >
(SELECT MAX(create_time)
FROM sys_order_wechat_msg sowm
WHERE
so.id = sowm.order_id
GROUP BY so.id
)
) )
AND so.active_status IN (6, 7) AND so.active_status IN (6, 7)
AND so.canceled = 1 AND so.canceled = 1
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!