fengjin
2022-10-11 adb0b00a5e6d3c4636bcf7fd7ace2aa71cd671ec
flower_city/src/main/resources/mapper/SysUserMapper.xml
@@ -72,6 +72,7 @@
            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
@@ -122,8 +123,9 @@
    <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>