Преглед изворни кода

项目排序新增中文排序

anderx пре 1 година
родитељ
комит
5f132e9475
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/main/java/com/goafanti/common/mapper/BusinessProjectMapper.xml

+ 1 - 0
src/main/java/com/goafanti/common/mapper/BusinessProjectMapper.xml

@@ -466,6 +466,7 @@
         </if>
         and a.delete_sign=0 and a.status=0
         and a.bname like concat('%',#{businessName},'%')
+        order by CONVERT(bname USING gbk) COLLATE gbk_chinese_ci;
     </select>