Sfoglia il codice sorgente

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

顾绍勇 5 anni fa
parent
commit
5055543222
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/main/resources/mapper/TaHousingResourcesMapper.xml

+ 1
- 1
src/main/resources/mapper/TaHousingResourcesMapper.xml Vedi File

@@ -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">