| | |
| | | </resultMap> |
| | | |
| | | <select id="listPage" resultMap="RulesRegulationsManagementDTOMap"> |
| | | select rrm.*, su.user_name as create_user_name |
| | | select rrm.*, su.nick_name as create_user_name |
| | | from rules_regulations_management rrm |
| | | left join sys_user su on rrm.create_user = su.user_id |
| | | <where> |
| | | <if test="ew.regulationNum != null and ew.regulationNum != ''"> |
| | | and rrm.regulation_num = #{ew.regulationNum} |
| | | </if> |
| | | <if test="ew.title != null and ew.title != ''"> |
| | | and rrm.title like concat('%',#{ew.title},'%') |
| | | </if> |
| | |
| | | </if> |
| | | </where> |
| | | </select> |
| | | </mapper> |
| | | </mapper> |