Commit 2d3fc13b by zhanghj

V1.4.0--修复增加竞价单匹配服务商bug

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@23726 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 20db79aa
......@@ -118,10 +118,12 @@
<select id="getServiceListByAreaCode" parameterType="java.util.List" resultType="integer">
select
DISTINCT(service_provider_id)
from sys_service_area
DISTINCT(ssa.service_provider_id)
from sys_service_area ssa
LEFT JOIN sys_user su ON ssa.service_provider_id = su.id
where
area_id IN
su.user_status = 'sys_user_status_normal'
and ssa.area_id IN
<foreach item="item" index="index" collection="areaCodeList"
open="(" separator="," close=")">
#{item}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!