src/main/resources/mybatis/query-template/userLevel-template.xml
@@ -14,6 +14,9 @@ <if test="levelName != '' and levelName != null"> AND ul.level_name like CONCAT('%',#{levelName},'%') </if> <if test="id != '' and id != null"> AND ul.id like CONCAT('%',#{id},'%') </if> limit #{pageSize} offset #{page}; </select>