diff --git a/epdc-cloud-analysis-pc/src/main/java/com/elink/esua/epdc/modules/screen/service/impl/ScreenPublicDataServiceImpl.java b/epdc-cloud-analysis-pc/src/main/java/com/elink/esua/epdc/modules/screen/service/impl/ScreenPublicDataServiceImpl.java index 448aaba..58f82cf 100644 --- a/epdc-cloud-analysis-pc/src/main/java/com/elink/esua/epdc/modules/screen/service/impl/ScreenPublicDataServiceImpl.java +++ b/epdc-cloud-analysis-pc/src/main/java/com/elink/esua/epdc/modules/screen/service/impl/ScreenPublicDataServiceImpl.java @@ -254,13 +254,13 @@ public class ScreenPublicDataServiceImpl extends BaseServiceImpl list = baseDao.getGovernrankdata(yearMonth); // 将list转换为json格式 if(list != null && list.size()>0){ GovernrankdataDTO result = new GovernrankdataDTO(); result.setDataList(list); - result.setMonthId(yearMonth.replace("-","")); + result.setMonthId(yearMonth); String json = JSONObject.toJSONString(result); String body = epmetUtils.httpPost(EpmetConstant.EPMET_SCREEN_COLL_GOVERN_RANK, json); log.info(body); diff --git a/epdc-cloud-analysis-pc/src/main/resources/mapper/screen/ScreenIndexDataDao.xml b/epdc-cloud-analysis-pc/src/main/resources/mapper/screen/ScreenIndexDataDao.xml index af10b86..22ae417 100644 --- a/epdc-cloud-analysis-pc/src/main/resources/mapper/screen/ScreenIndexDataDao.xml +++ b/epdc-cloud-analysis-pc/src/main/resources/mapper/screen/ScreenIndexDataDao.xml @@ -506,7 +506,10 @@ IFNULL(tm2.closedProjectRatioFm, 0) AS closedProjectRatioFm, IFNULL(IF( d.TYPE_KEY = 'street_party', tm1.handleProjectRatioFz, 0),0) handleProjectRatioFz, IFNULL(IF( d.TYPE_KEY = 'street_party', tm1.handleProjectRatioFm, 0),0) handleProjectRatioFm, - IF( d.TYPE_KEY = 'street_party', IFNULL(tm1.handleProjectRatio,0.0000),0.0000) AS handleProjectRatio + IF( d.TYPE_KEY = 'street_party', IFNULL(tm1.handleProjectRatio,0.0000),0.0000) AS handleProjectRatio, + IFNULL(tm1.satisfactionRatio, 0.000) AS satisfactionRatio, + IFNULL(tm1.satisfactionRatioFz, 0) AS satisfactionRatioFz, + IFNULL(tm1.satisfactionRatioFm, 0) AS satisfactionRatioFm FROM esua_epdc_admin.sys_dept d LEFT JOIN (SELECT @@ -592,7 +595,10 @@ IFNULL(tm2.closedProjectRatioFm, 0) AS closedProjectRatioFm, IFNULL(tm1.handleProjectRatioFz,0) handleProjectRatioFz, IFNULL(tm1.handleProjectRatioFm,0) handleProjectRatioFm, - IFNULL(tm1.handleProjectRatio,0.0000) AS handleProjectRatio + IFNULL(tm1.handleProjectRatio,0.0000) AS handleProjectRatio, + IFNULL(tm1.satisfactionRatio, 0.000) AS satisfactionRatio, + IFNULL(tm1.satisfactionRatioFz, 0) AS satisfactionRatioFz, + IFNULL(tm1.satisfactionRatioFm, 0) AS satisfactionRatioFm FROM esua_epdc_admin.sys_dept d LEFT JOIN (SELECT