Browse Source

sql类型转换

master
zxc 4 years ago
parent
commit
2894a5dfd7
  1. 2
      epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcHouseDao.xml

2
epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcHouseDao.xml

@ -170,7 +170,7 @@
a.BUILDING_UNIT_ID as unitNumKey, a.BUILDING_UNIT_ID as unitNumKey,
a.HOUSE_TYPE as houseTypeKey, a.HOUSE_TYPE as houseTypeKey,
a.PURPOSE as purposeKey, a.PURPOSE as purposeKey,
a.RENT_FLAG as rentFlagKey, CAST(a.RENT_FLAG AS CHAR) as rentFlagKey,
c.AGENCY_ID as agencyId, c.AGENCY_ID as agencyId,
c.GRID_ID as gridId c.GRID_ID as gridId
from ic_house a from ic_house a

Loading…
Cancel
Save