瀏覽代碼

项目排序新增中文排序

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>