|
|
@ -159,8 +159,9 @@ |
|
|
|
</where> |
|
|
|
#排序规则:根据小区、楼栋、单元、门牌号(分别按照数字和中文)分别升序排序 |
|
|
|
ORDER BY |
|
|
|
<if test='sortType == "asc" '>a.sort,</if> |
|
|
|
<if test='sortType == "desc" '>a.sort DESC,</if> |
|
|
|
<if test='sortType == null '>a.sort,</if> |
|
|
|
<if test='sortType != null and sortType == "asc" '>a.sort,</if> |
|
|
|
<if test='sortType != null and sortType == "desc" '>a.sort DESC,</if> |
|
|
|
CONVERT(c.NEIGHBOR_HOOD_NAME using gbk), |
|
|
|
CONVERT(b.BUILDING_NAME USING gbk), |
|
|
|
CONVERT(d.UNIT_NAME USING gbk), |
|
|
|