|
@@ -57,11 +57,11 @@
|
57
|
57
|
AND t.`status` > 0
|
58
|
58
|
) t5
|
59
|
59
|
ORDER BY
|
60
|
|
- REPLACE ( CONVERT ( t5.termName USING ascii ), '?', '' ) ,
|
61
|
|
- REPLACE ( CONVERT ( t5.block_name USING ascii ), '?', '' ) ,
|
62
|
|
- REPLACE ( CONVERT ( t5.unit_name USING ascii ), '?', '' ) ,
|
63
|
|
- REPLACE ( CONVERT ( t5.floor_name USING ascii ), '?', '' ) desc ,
|
64
|
|
- REPLACE ( CONVERT ( t5.room_name USING ascii ), '?', '' )
|
|
60
|
+ ( SELECT num_char_extract ( t5.termName, 2 ) ),
|
|
61
|
+ ( SELECT num_char_extract ( t5.block_name, 2 ) ),
|
|
62
|
+ ( SELECT num_char_extract ( t5.unit_name, 2 ) ),
|
|
63
|
+ ( SELECT num_char_extract ( t5.floor_name, 2 ) ) DESC,
|
|
64
|
+ ( SELECT num_char_extract ( t5.room_name, 2 ) )
|
65
|
65
|
</select>
|
66
|
66
|
|
67
|
67
|
<select id="listBuildApartmentBySalesBatchId" resultType="com.huiju.estateagents.entity.TaBuildingApartment">
|