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

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

顾绍勇 пре 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">