Mr.Shi
2023-09-19 a5e6e7061cbef6912f294dcfd2cb88f472f8ca6f
server/service/src/main/resources/mappers/SystemRoleMapper.xml
@@ -30,6 +30,9 @@
      <if test="dto.name != null and dto.name != ''">
        AND role.`NAME` LIKE CONCAT('%', #{dto.name}, '%')
      </if>
      <if test="dto.type != null and dto.type != ''">
        AND role.type = #{dto.type}
      </if>
    </where>
    ${orderByClause}
  </select>