Helius
2022-07-09 72e4c1f558c3a0ae7a3730a3b80da11f3e7729a7
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.companyId!=null">
                    and a.company_id = #{record.companyId}
                </if>
            </if>
        </where>
        order by a.create_time desc