multi-system/src/main/resources/mapper/system/SysNoticeMapper.xml
@@ -51,11 +51,14 @@ AND a.type = #{type} </if> <if test="deptId != null"> AND a.deptId = #{dept_id} AND a.dept_id = #{deptId} </if> <if test="createBy != null and createBy != ''"> AND a.create_by like concat('%', #{createBy}, '%') </if> <if test="year != null and year != ''"> AND DATE_FORMAT(a.publish_date, '%Y') = #{year} </if> order by a.create_time desc </select>