|
@ -273,6 +273,7 @@ |
|
|
</select> |
|
|
</select> |
|
|
<select id="getStaffList" resultType="com.epmet.dto.result.CustomerGridStaffResultDTO"> |
|
|
<select id="getStaffList" resultType="com.epmet.dto.result.CustomerGridStaffResultDTO"> |
|
|
SELECT |
|
|
SELECT |
|
|
|
|
|
DISTINCT |
|
|
cs.USER_ID, |
|
|
cs.USER_ID, |
|
|
cs.REAL_NAME userName, |
|
|
cs.REAL_NAME userName, |
|
|
cs.MOBILE, |
|
|
cs.MOBILE, |
|
@ -291,6 +292,7 @@ |
|
|
<if test="mobile != null and mobile != ''"> |
|
|
<if test="mobile != null and mobile != ''"> |
|
|
AND cs.mobile = #{mobile} |
|
|
AND cs.mobile = #{mobile} |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
AND cs.CUSTOMER_ID = #{customerId} |
|
|
AND gsr.role_key IN |
|
|
AND gsr.role_key IN |
|
|
<foreach collection="roleKeyList" item="item" open="(" close=")" separator=","> |
|
|
<foreach collection="roleKeyList" item="item" open="(" close=")" separator=","> |
|
|
#{item} |
|
|
#{item} |
|
|