|
@ -116,16 +116,18 @@ |
|
|
customer_staff |
|
|
customer_staff |
|
|
WHERE |
|
|
WHERE |
|
|
del_flag = '0' |
|
|
del_flag = '0' |
|
|
AND user_id IN |
|
|
<if test="staffIds != null and staffIds.size() > 0"> |
|
|
<foreach item="staffId" collection="staffIds" open="(" separator="," close=")"> |
|
|
AND user_id IN |
|
|
#{staffId} |
|
|
<foreach item="staffId" collection="staffIds" open="(" separator="," close=")"> |
|
|
</foreach> |
|
|
|
|
|
ORDER BY field( |
|
|
|
|
|
user_id, |
|
|
|
|
|
<foreach item="staffId" collection="staffIds" separator=","> |
|
|
|
|
|
#{staffId} |
|
|
#{staffId} |
|
|
</foreach> |
|
|
</foreach> |
|
|
) |
|
|
ORDER BY field( |
|
|
|
|
|
user_id, |
|
|
|
|
|
<foreach item="staffId" collection="staffIds" separator=","> |
|
|
|
|
|
#{staffId} |
|
|
|
|
|
</foreach> |
|
|
|
|
|
) |
|
|
|
|
|
</if> |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
<select id="selectByStaffId" resultType="com.epmet.dataaggre.dto.epmetuser.CustomerStaffDTO"> |
|
|
<select id="selectByStaffId" resultType="com.epmet.dataaggre.dto.epmetuser.CustomerStaffDTO"> |
|
|