|
@ -8,6 +8,7 @@ import com.epmet.datareport.dao.evaluationindex.screenkc.*; |
|
|
import com.epmet.datareport.service.evaluationindex.screen.KcScreenService; |
|
|
import com.epmet.datareport.service.evaluationindex.screen.KcScreenService; |
|
|
import com.epmet.datareport.utils.DateUtils; |
|
|
import com.epmet.datareport.utils.DateUtils; |
|
|
import com.epmet.dto.result.issue.*; |
|
|
import com.epmet.dto.result.issue.*; |
|
|
|
|
|
import com.epmet.dto.result.project.*; |
|
|
import com.epmet.evaluationindex.screen.dto.form.GroupTopicShiftIssueRatioRankFormDTO; |
|
|
import com.epmet.evaluationindex.screen.dto.form.GroupTopicShiftIssueRatioRankFormDTO; |
|
|
import com.epmet.evaluationindex.screen.dto.form.GroupUserCountRankFormDTO; |
|
|
import com.epmet.evaluationindex.screen.dto.form.GroupUserCountRankFormDTO; |
|
|
import com.epmet.evaluationindex.screen.dto.form.HeartVolunteerrankFormDTO; |
|
|
import com.epmet.evaluationindex.screen.dto.form.HeartVolunteerrankFormDTO; |
|
@ -15,8 +16,6 @@ import com.epmet.evaluationindex.screen.dto.result.*; |
|
|
import com.epmet.evaluationindex.screen.dto.result.HomepageSummaryResultDTO; |
|
|
import com.epmet.evaluationindex.screen.dto.result.HomepageSummaryResultDTO; |
|
|
import com.epmet.dto.result.issue.KcIssueSummary; |
|
|
import com.epmet.dto.result.issue.KcIssueSummary; |
|
|
import com.epmet.dto.result.issue.KcPartiTrendResultDTO; |
|
|
import com.epmet.dto.result.issue.KcPartiTrendResultDTO; |
|
|
import com.epmet.evaluationindex.screen.dto.form.HeartVolunteerrankFormDTO; |
|
|
|
|
|
import com.epmet.evaluationindex.screen.dto.result.*; |
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
@ -63,6 +62,15 @@ public class KcScreenServiceImpl implements KcScreenService { |
|
|
@Autowired |
|
|
@Autowired |
|
|
private ScreenKcGroupDetailGridDailyDao screenKcGroupDetailGridDailyDao; |
|
|
private ScreenKcGroupDetailGridDailyDao screenKcGroupDetailGridDailyDao; |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
private ScreenKcProjectSummaryGridDailyDao screenKcProjectSummaryGridDailyDao; |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
private ScreenKcProjectCategoryGridDailyDao screenKcProjectCategoryGridDailyDao; |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
private ScreenKcProjectSummaryGridDailyDao projectSummaryGridDailyDao; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @param externalAppRequestParam |
|
|
* @param externalAppRequestParam |
|
|
* @Description 首页-平台各类总数 |
|
|
* @Description 首页-平台各类总数 |
|
@ -284,4 +292,35 @@ public class KcScreenServiceImpl implements KcScreenService { |
|
|
return list; |
|
|
return list; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public ProjectSummaryResultDTO getProjectSummary(String customerId) { |
|
|
|
|
|
return projectSummaryGridDailyDao.getProjectSummary(customerId); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public GridProjectCountRankResultDTO getGridProjectCountRank(String customerId) { |
|
|
|
|
|
List<GridProjectCountResultDTO> gridCounts = screenKcProjectSummaryGridDailyDao.getGridProjectCountRank(customerId); |
|
|
|
|
|
GridProjectCountRankResultDTO rankResult = new GridProjectCountRankResultDTO(); |
|
|
|
|
|
gridCounts.stream().forEach(gc -> { |
|
|
|
|
|
rankResult.getGridNameDataList().add(gc.getGridName()); |
|
|
|
|
|
rankResult.getProjectCountDataList().add(gc.getProjectCount()); |
|
|
|
|
|
}); |
|
|
|
|
|
return rankResult; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public List<ProjectCategoryAnalysisResultDTO> getProjectCategoryAnalysis(String customerId) { |
|
|
|
|
|
return screenKcProjectCategoryGridDailyDao.listProjectCountGroupByCategory(customerId); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public List<ProjectAvgClosedTimeResultDTO> getGridProjectAvgClosedTimeAnalysis(String customerId) { |
|
|
|
|
|
return screenKcProjectSummaryGridDailyDao.getGridProjectAvgClosedTimeAnalysis(customerId); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public ProjectSatisfaction getProjectSatisfactionAnalyze(String customerId) { |
|
|
|
|
|
|
|
|
|
|
|
return null; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|