@ -189,7 +189,7 @@ public class GovOrgController {
/**
* 组织下的工作人员 下拉框
*
* 2022.11.23调整:已经禁用的人,不展示
* @param tokenDto
* @param agencyId
* @return
@ -75,6 +75,7 @@ public interface CustomerStaffDao extends BaseDao<CustomerStaffEntity> {
* 根据staffId查询姓名、手机号
* 禁用的不展示
* @param staffIds
*/
@ -140,6 +140,7 @@
AND USER_ID = #{staffId}
</select>
<!-- 禁用的不展示 -->
<select id="staffSelectList" parameterType="map" resultType="com.epmet.dataaggre.dto.epmetuser.result.StaffSelectResDTO">
SELECT
cs.USER_ID as `value`,
@ -150,6 +151,7 @@
customer_staff cs
WHERE
cs.del_flag = '0'
and cs.ENABLE_FLAG='enable'
<foreach item="staffId" collection="staffIds" open="and (" separator="or" close=")">
cs.user_id = #{staffId}
</foreach>