| | |
| | | <mapper namespace="com.ruoyi.collaborativeApproval.mapper.NoticeMapper"> |
| | | |
| | | <select id="listPage" resultType="com.ruoyi.collaborativeApproval.dto.NoticeDTO"> |
| | | select n.*, su.user_name as create_user_name |
| | | select n.*, su.nick_name as create_user_name |
| | | from notice n |
| | | left join sys_user su on n.create_user = su.user_id |
| | | <where> |
| | |
| | | and n.title like concat('%',#{ew.title},'%') |
| | | </if> |
| | | <if test="ew.type != null"> |
| | | and n.type = #{ew.type} |
| | | and n.type = #{ew.type} |
| | | </if> |
| | | <if test="ew.status != null"> |
| | | and n.status = #{ew.status} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | </mapper> |
| | | </mapper> |