人员查询调整
This commit is contained in:
parent
075c8010bf
commit
5ab46fd88d
|
|
@ -197,7 +197,7 @@
|
|||
<select id="getUserList" resultType="com.bonus.gs.sub.evaluate.evaluate.beans.OrganizationalBean">
|
||||
select NAME userName, LOGIN_NAME idCard, SEX, TELPHONE userPhone, dept_id tableId
|
||||
FROM gs_exam.pm_user
|
||||
where IS_ACTIVE = 1
|
||||
where IS_ACTIVE = 1 and and if_active = '1'
|
||||
and dept_id = #{deptId}
|
||||
</select>
|
||||
<select id="getEvaluatePersonList"
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@
|
|||
left join gs_exam.pm_dept pd on pu.DEPT_ID = pd.ID and pd.IS_ACTIVE = '1'
|
||||
left join gs_exam.pm_new_role_user pnru on pu.ID = pnru.user_id and pnru.del_flag = '0'
|
||||
left join gs_exam.pm_new_role pnr on pnru.ROLE_ID = pnr.id and pnr.del_flag = '0'
|
||||
where pu.IS_ACTIVE = '1' and pu.LOGIN_NAME not in (select id_card from sys_user where status = '1' and id_card is not null)
|
||||
where pu.IS_ACTIVE = '1' and pu.if_active = '1' and pu.LOGIN_NAME not in (select id_card from sys_user where status = '1' and id_card is not null)
|
||||
<if test="bean.id != null and bean.id != ''">
|
||||
and pu.dept_id in
|
||||
<foreach collection="arr" item="id" open="(" close=")" separator=",">
|
||||
|
|
|
|||
Loading…
Reference in New Issue