| | |
| | | |
| | | <select id="getMapping" resultType="java.util.Map"> |
| | | SELECT |
| | | m.id,m.code, m.name, u.user_name as userName,system_id as systemId, m.audit as audit, |
| | | sm.data_type as dataType, |
| | | m.id,m.code, m.name, system_id as systemId, m.audit as audit, |
| | | |
| | | c2.name as cname1, c2.id as cid1, c1.name as cname2, c1.id as cid2, c.name as cname3, c.id as cid3, |
| | | start_time as startTime, end_time as endTime, m.create_time as createTime, m.update_time as updateTime, |
| | | table_name as tableName, sm.name as theme, m.theme_id as themeId, m.charge_id as chargeId |
| | | FROM `menu_mapping` m |
| | | LEFT JOIN `t_user` u on u.user_id = charge_id |
| | | LEFT JOIN sys_datacategory c on c.id = m.data_type |
| | | LEFT JOIN sys_datacategory c1 on c1.id = c.parent_id |
| | | LEFT JOIN sys_datacategory c2 on c2.id = c1.parent_id |