Browse Source

排序修改

release
zxc 3 years ago
parent
commit
ce76dd0bb5
  1. 5
      epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcBuildingDao.xml
  2. 3
      epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcNeighborHoodDao.xml

5
epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcBuildingDao.xml

@ -108,7 +108,10 @@
</if>
AND a.DEL_FLAG = '0'
</where>
order by a.CREATED_TIME, a.BUILDING_NAME
# order by a.CREATED_TIME, a.BUILDING_NAME
#排序规则:根据小区、楼栋、单元、门牌号(分别按照数字和中文)分别升序排序
ORDER BY CONVERT(b.NEIGHBOR_HOOD_NAME using gbk),
CONVERT(a.BUILDING_NAME USING gbk)
</select>
<select id="searchAllBuilding" resultType="com.epmet.excel.IcBuildingExcel">
select

3
epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcNeighborHoodDao.xml

@ -100,7 +100,8 @@
AND a.DEL_FLAG = '0'
</where>
ORDER BY a.CREATED_TIME
# ORDER BY a.CREATED_TIME
ORDER BY CONVERT(a.NEIGHBOR_HOOD_NAME using gbk)
</select>
<select id="searchAllNeighborhood" resultType="com.epmet.excel.IcNeighborHoodExcel">
select

Loading…
Cancel
Save