瀏覽代碼

* 代码优化,解决数据库排序问题

顾绍勇 5 年之前
父節點
當前提交
5055543222
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/main/resources/mapper/TaHousingResourcesMapper.xml

+ 1
- 1
src/main/resources/mapper/TaHousingResourcesMapper.xml 查看文件

@@ -51,7 +51,7 @@
51 51
             t5.block_name,
52 52
             t5.unit_name,
53 53
             t5.floor_name DESC,
54
-            t5.room_name
54
+            REPLACE ( CONVERT ( t5.room_name USING ascii ), '?', '' ) + 0
55 55
     </select>
56 56
 
57 57
     <select id="listBuildApartmentBySalesBatchId" resultType="com.huiju.estateagents.entity.TaBuildingApartment">