| | |
| | | <select id="exportUser" resultType="cn.gistack.system.user.excel.UserExcel"> |
| | | SELECT id, tenant_id, user_type, account, name, real_name, email, phone, birthday, role_id, dept_id, post_id FROM blade_user ${ew.customSqlSegment} |
| | | </select> |
| | | <select id="customizeGetList" resultType="cn.gistack.system.user.entity.User"> |
| | | select U.* from BLADE_USER U |
| | | left join BLADE_DEPT D on D.ID = U.DEPT_ID |
| | | where D.AD_CODE = #{user.adCode} and U.ROLE_ID like CONCAT('%',(select id from BLADE_ROLE where ROLE_ALIAS = 'qxgly'),'%') |
| | | </select> |
| | | |
| | | </mapper> |