Browse Source

排序

master
qushutong 2 years ago
parent
commit
e33ea3490c
  1. 13
      epmet-user/epmet-user-server/src/main/resources/mapper/IcResiUserDao.xml

13
epmet-user/epmet-user-server/src/main/resources/mapper/IcResiUserDao.xml

@ -327,20 +327,11 @@
<when test="customerId == '1536638904600752130' ">
ORDER BY
field( IC_RESI_USER.GRID_ID, '1537272060187049986', '1537272342477508609', '1537275342477501111', '1593432493598076929','1595582620679204865' ),
IC_RESI_USER.VILLAGE_ID ASC,
IC_RESI_USER.BUILD_ID ASC,
IC_RESI_USER.UNIT_ID ASC,
IC_RESI_USER.HOME_ID ASC,
IC_RESI_USER.ID ASC
IC_RESI_USER.HOME_ID ASC
</when>
<otherwise>
ORDER BY
IC_RESI_USER.GRID_ID asc,
IC_RESI_USER.VILLAGE_ID ASC,
IC_RESI_USER.BUILD_ID ASC,
IC_RESI_USER.UNIT_ID ASC,
IC_RESI_USER.HOME_ID ASC,
IC_RESI_USER.ID ASC
IC_RESI_USER.HOME_ID ASC
</otherwise>
</choose>
</select>

Loading…
Cancel
Save