Browse Source

组织上报sql修改

feature/screenDataPush
songyunpeng 4 years ago
parent
commit
1158b91dee
  1. 2
      esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/screen/ScreenPublicDataDao.xml

2
esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/screen/ScreenPublicDataDao.xml

@ -5,7 +5,7 @@
<select id="customerAgency" resultType="com.elink.esua.epdc.dto.screen.result.ScreenCustomerAgencyDTO">
SELECT sd.`id` AS agencyId,
sd.`name` AS agencyName,
if(sd.`name` = '锦水街道办事处','锦水街道',sd.`name`) AS agencyName,
if(sd.type_key='street_party',0,sd.`pid` )pid,
if(sd.type_key='street_party',0,sd.`pids` )pids,
CASE WHEN sd2.`name` IS NULL

Loading…
Cancel
Save