Browse Source

【BI商业智能】【饼图排序】【大小写区分】

zhaoy 6 years ago
parent
commit
a153b03806

+ 1 - 1
bi-server/src/main/java/com/usoftchina/bi/server/dao/chart/ShowChartsMapper.java

@@ -61,7 +61,7 @@ public interface ShowChartsMapper {
     /*
     查询筛选列信息
      */
-    @Select("select * from (select distinct ${columnName} from ${tableName} )where ${columnName} like '%'||#{keyword,jdbcType=VARCHAR}||'%' and rownum <= #{count, jdbcType=INTEGER}")
+    @Select("select * from (select distinct ${columnName} from ${tableName} )where upper(${columnName}) like upper('%'||#{keyword,jdbcType=VARCHAR}||'%') and rownum <= #{count, jdbcType=INTEGER}")
     List<Object> getScreenData(@Param("columnName") String columnName, @Param("tableName") String tableName, @Param("keyword") String keyword, @Param("count") int count);
 
     /**