yinzuomei 3 years ago
parent
commit
f51fdebbbc
  1. 2
      epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/epmetuser/CustomerStaffDao.xml

2
epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/epmetuser/CustomerStaffDao.xml

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

Loading…
Cancel
Save