| | |
| | | transaction_ids, |
| | | transaction_names, |
| | | openid, |
| | | transaction_num, |
| | | (select organization_name from automessage_organization_chart where automessage_sys_user.department_id=automessage_organization_chart.id) as department_name |
| | | FROM |
| | | automessage_sys_user |
| | |
| | | <select id="selectListByDepartmentId" resultMap="SysUserResult"> |
| | | <include refid="selectSysUserVo"/> |
| | | <where> |
| | | user_type=2 |
| | | <if test="list!=null"> |
| | | department_id in |
| | | and department_id in |
| | | <foreach collection="list" item="id" index="index" open="(" close=")" separator=","> |
| | | #{id} |
| | | </foreach> |