Commit 39cc5126 by zhanghj

V1.1.0--修复停用服务商,技工,不分配订单

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@20983 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 9ad06460
...@@ -15,7 +15,9 @@ ...@@ -15,7 +15,9 @@
srm.*, su.user_type srm.*, su.user_type
from sys_resource_matching srm from sys_resource_matching srm
left join sys_user su on srm.user_id = su.id left join sys_user su on srm.user_id = su.id
LEFT JOIN sys_user su2 on srm.merchant_id = su2.id
where srm.merchant_id = #{userId } where srm.merchant_id = #{userId }
and su2.user_status = 'sys_user_status_normal'
and srm.service_key = #{installDeviceType } and srm.service_key = #{installDeviceType }
and su.user_status = 'sys_user_status_normal' and su.user_status = 'sys_user_status_normal'
order by srm.id asc order by srm.id asc
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!