| | |
| | | </resultMap> |
| | | <select id="selectManageList" parameterType="com.doumee.dao.system.dto.QuerySystemUserDTO" resultMap="SystemRoleListVO"> |
| | | SELECT |
| | | role.ID, role.`CODE`, role.`NAME`, role.`REMARK`, role.`FIXED`, role.`CREATE_TIME`, role.`UPDATE_TIME`, |
| | | role.ID, role.`CODE`, role.`NAME`, role.`REMARK`, role.`FIXED`, role.`CREATE_TIME`, role.`UPDATE_TIME`,role.type, |
| | | create_user.ID CREATE_USER_ID, create_user.`USERNAME` CREATE_USER_NAME, |
| | | update_user.ID UPDETE_USER_ID, update_user.`USERNAME` UPDATE_USER_NAME |
| | | FROM SYSTEM_ROLE role |
| | |
| | | <if test="dto.name != null and dto.name != ''"> |
| | | AND role.`NAME` LIKE CONCAT('%', #{dto.name}, '%') |
| | | </if> |
| | | <if test="dto.type != null"> |
| | | AND role.type = #{dto.type} |
| | | </if> |
| | | </where> |
| | | ${orderByClause} |
| | | </select> |