src/main/resources/mapper/sys/ReportMapper.xml
@@ -7,6 +7,9 @@ <if test="name != null"> name like #{name} </if> <if test="code != null"> code = #{code} </if> </where> </select> @@ -16,6 +19,9 @@ <if test="name != null"> name like #{name} </if> <if test="code != null"> code = #{code} </if> </where> order by a.id desc limit #{limit} offset #{offset}