Browse Source

大屏接口修改

master
wangchao 5 years ago
parent
commit
4fb3f981cf
  1. 2
      epmet-module/data-report/data-report-server/src/main/java/com/epmet/datareport/service/screen/impl/GrassrootsPartyDevServiceImpl.java
  2. 3
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenCpcBaseDataDao.xml
  3. 3
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenDifficultyDataDao.xml
  4. 1
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenGovernRankDataDao.xml
  5. 1
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenOrgRankDataDao.xml
  6. 2
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenPartyBranchDataDao.xml
  7. 4
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenUserJoinDao.xml
  8. 4
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenUserTotalDataDao.xml

2
epmet-module/data-report/data-report-server/src/main/java/com/epmet/datareport/service/screen/impl/GrassrootsPartyDevServiceImpl.java

@ -42,7 +42,6 @@ public class GrassrootsPartyDevServiceImpl implements GrassrootsPartyDevService
private ScreenCpcBaseDataDao screenCpcBaseDataDao;
@Autowired
private ScreenPartyBranchDataDao screenPartyBranchDataDao;
private List<String> issueGroup;
/**
* @Description 1党员基本情况-饼状图概况
@ -59,6 +58,7 @@ public class GrassrootsPartyDevServiceImpl implements GrassrootsPartyDevService
PartymemberPercentResultDTO result = screenUserTotalDataDao.selectAgencyPartymemberPercent(param.getAgencyId());
if(null == result){
logger.warn("com.epmet.datareport.service.screen.impl.GrassrootsPartyDevServiceImpl.partymemberBaseInfo:未查询出指定agencyId下的党员基础信息数据,agencyId :: {}",param.getAgencyId());
result = new PartymemberPercentResultDTO();
result.setPercentInPlatForm(convertPercentStr(BigDecimal.ZERO));
return result;
}

3
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenCpcBaseDataDao.xml

@ -15,8 +15,7 @@
screen_cpc_base_data
WHERE
DEL_FLAG = '0'
AND ORG_TYPE = 'agency'
AND ORG_ID = #{agencyId}
AND PARENT_ID = #{agencyId}
</select>
</mapper>

3
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenDifficultyDataDao.xml

@ -22,8 +22,7 @@
AND eve.DEL_FLAG = '0'
WHERE
diff.DEL_FLAG = '0'
AND diff.ORG_TYPE = 'agency'
AND diff.ORG_ID = #{agencyId}
AND diff.PARENT_ID = #{agencyId}
ORDER BY
CASE #{type} WHEN 'timelongest' THEN diff.EVENT_COST_TIME
WHEN 'mosthandled' THEN diff.EVENT_HANDLED_COUNT

1
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenGovernRankDataDao.xml

@ -15,7 +15,6 @@
screen_govern_rank_data
WHERE
DEL_FLAG = '0'
AND ORG_TYPE = 'agency'
AND ORG_ID = #{agencyId}
AND MONTH_ID = #{monthId}
ORDER BY

1
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenOrgRankDataDao.xml

@ -17,7 +17,6 @@
screen_org_rank_data
WHERE
DEL_FLAG = '0'
AND ORG_TYPE = 'grid'
AND PARENT_ID = #{agencyId}
AND MONTH_ID = #{monthId}
ORDER BY

2
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenPartyBranchDataDao.xml

@ -49,7 +49,7 @@
screen_party_branch_data
<where>
DEL_FLAG = '0'
AND ORG_TYPE = 'agency'
AND PARENT_ID = #{agencyId}
AND TYPE = #{category}
<!-- 指定月的排行 -->

4
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenUserJoinDao.xml

@ -19,8 +19,8 @@
screen_user_join
WHERE
DEL_FLAG = '0'
AND ORG_TYPE = 'agency'
AND ORG_ID = #{agencyId}
AND PARENT_ID = #{agencyId}
AND MONTH_ID = #{monthId}
</select>

4
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenUserTotalDataDao.xml

@ -12,8 +12,7 @@
screen_user_total_data
WHERE
DEL_FLAG = '0'
AND ORG_TYPE = 'agency'
AND ORG_ID = #{agencyId}
AND PARENT_ID = #{agencyId}
</select>
<!-- 查询top区概况 -->
@ -59,7 +58,6 @@
screen_user_total_data
WHERE
DEL_FLAG = '0'
AND ORG_TYPE = 'agency'
AND PARENT_ID = #{agencyId}
ORDER BY
(REG_USER_TOTAL + JOIN_USER_TOTAL + TOPIC_TOTAL + ISSUE_TOTAL + PROJECT_TOTAL) DESC,

Loading…
Cancel
Save