Commit 57a8a00d by duanhq

指定技工权限修改 by duanht 2019/3/19

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18628 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 39e23811
...@@ -836,7 +836,7 @@ ...@@ -836,7 +836,7 @@
<if test="listType == 4"> <if test="listType == 4">
and u.user_status IN ('sys_user_status_normal') and u.user_status IN ('sys_user_status_normal')
and su.user_type = 3 and su.user_type = 1
<choose> <choose>
<when test="userStatus != null and userStatus!=''"> <when test="userStatus != null and userStatus!=''">
and sms.merchant_status = #{userStatus,jdbcType=VARCHAR} and sms.merchant_status = #{userStatus,jdbcType=VARCHAR}
...@@ -1056,7 +1056,7 @@ ...@@ -1056,7 +1056,7 @@
SELECT DISTINCT SELECT DISTINCT
so.id id, so.id id,
so.NAME NAME, so.NAME NAME,
so.org_type orgType, so.org_type,
0 user_id 0 user_id
FROM FROM
sys_organization so sys_organization so
...@@ -1109,6 +1109,7 @@ ...@@ -1109,6 +1109,7 @@
WHERE srm.merchant_id = #{merchantId,jdbcType=INTEGER} WHERE srm.merchant_id = #{merchantId,jdbcType=INTEGER}
AND su.user_status = 'sys_user_status_normal' AND su.user_status = 'sys_user_status_normal'
AND su.user_type = 3 AND su.user_type = 3
AND ssm.service_id = #{id,jdbcType=INTEGER}
<if test="orgId != null"> <if test="orgId != null">
AND su.org_id = #{orgId,jdbcType=INTEGER} AND su.org_id = #{orgId,jdbcType=INTEGER}
</if> </if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!