| | |
| | | <result property="departmentId" column="department_id" /> |
| | | <result property="stairId" column="stair_id" /> |
| | | <result property="secondLevelId" column="second_level_id" /> |
| | | |
| | | |
| | | <result property="departmentName" column="department_name" /> |
| | | <result property="departmentArea" column="department_area" /> |
| | | <result property="leisureState" column="leisure_state" /> |
| | |
| | | <result property="masterNames" column="master_names" /> |
| | | <result property="transactionIds" column="transaction_ids" /> |
| | | <result property="transactionNames" column="transaction_names" /> |
| | | |
| | | |
| | | |
| | | </resultMap> |
| | | |
| | | <sql id="selectSysUserVo"> |
| | |
| | | phonenumber, |
| | | sex, |
| | | avatar, |
| | | password, |
| | | salt, |
| | | status, |
| | | del_flag, |
| | |
| | | create_time, |
| | | update_by, |
| | | update_time, |
| | | remark, |
| | | role_ids, |
| | | data_permission, |
| | | department_id, |
| | | stair_id, |
| | | second_level_id, |
| | | (select organization_name from automessage_organization_chart where automessage_sys_user.department_id=automessage_organization_chart.id) as department_name, |
| | | department_area, |
| | | leisure_state, |
| | | master_ids, |
| | | master_names, |
| | | transaction_ids, |
| | | transaction_names, |
| | | remark |
| | | (select organization_name from automessage_organization_chart where automessage_sys_user.department_id=automessage_organization_chart.id) as department_name |
| | | FROM |
| | | automessage_sys_user |
| | | </sql> |