xiaoyong931011
2022-06-13 36a143b19cc919c9a814d065029b2340ef7330d7
src/main/resources/mapper/RoleMapper.xml
@@ -12,6 +12,9 @@
                <if test="record.roleName!=null">
                    and a.role_name like concat ('%',#{record.roleName},'%')
                </if>
                <if test="record.belongId!=null">
                    and a.belong_id = #{record.belongId}
                </if>
            </if>
        </where>
        order by a.create_time desc