|
@@ -1,14 +1,8 @@
|
|
package com.lightinit.hsdataplatform.controller.admin;
|
|
package com.lightinit.hsdataplatform.controller.admin;
|
|
|
|
|
|
-import com.lightinit.hsdataplatform.dictionary.DicResourceType;
|
|
|
|
-import com.lightinit.hsdataplatform.dictionary.DicRoadShowAudit;
|
|
|
|
-import com.lightinit.hsdataplatform.dictionary.DicRoadShowStage;
|
|
|
|
-import com.lightinit.hsdataplatform.model.admin.RoadShowSearchModel;
|
|
|
|
import com.lightinit.hsdataplatform.model.admin.StatisiticSearchModel;
|
|
import com.lightinit.hsdataplatform.model.admin.StatisiticSearchModel;
|
|
import com.lightinit.hsdataplatform.model.admin.StatisticModel;
|
|
import com.lightinit.hsdataplatform.model.admin.StatisticModel;
|
|
import com.lightinit.hsdataplatform.service.admin.IResourceService;
|
|
import com.lightinit.hsdataplatform.service.admin.IResourceService;
|
|
-import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;
|
|
|
|
-import org.aspectj.weaver.patterns.HasMemberTypePattern;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -36,7 +30,7 @@ public class ResourceNumStatisitcController {
|
|
@RequestMapping(value = "themelist.action")
|
|
@RequestMapping(value = "themelist.action")
|
|
public ModelAndView themelist(StatisiticSearchModel inputModel){
|
|
public ModelAndView themelist(StatisiticSearchModel inputModel){
|
|
ModelAndView modelAndView = new ModelAndView("admin/resource_num_statisitic/themelist");
|
|
ModelAndView modelAndView = new ModelAndView("admin/resource_num_statisitic/themelist");
|
|
- List<String> list=resourceService.getCatelogTypeIsTheme();
|
|
|
|
|
|
+ List<String> list=resourceService.getCatelogTypeIsTheme(inputModel);
|
|
List<Map<String, Object>> listMap=resourceService.getEveryThemeTotal(inputModel);
|
|
List<Map<String, Object>> listMap=resourceService.getEveryThemeTotal(inputModel);
|
|
HashMap<String,Long> map = new HashMap<>();
|
|
HashMap<String,Long> map = new HashMap<>();
|
|
for (Map<String, Object> stringIntegerMap : listMap) {
|
|
for (Map<String, Object> stringIntegerMap : listMap) {
|
|
@@ -78,7 +72,7 @@ public class ResourceNumStatisitcController {
|
|
@RequestMapping(value = "themeSortList.action")
|
|
@RequestMapping(value = "themeSortList.action")
|
|
public ModelAndView themeSortList(StatisiticSearchModel inputModel){
|
|
public ModelAndView themeSortList(StatisiticSearchModel inputModel){
|
|
ModelAndView modelAndView = new ModelAndView("admin/resource_num_statisitic/themeSortList");
|
|
ModelAndView modelAndView = new ModelAndView("admin/resource_num_statisitic/themeSortList");
|
|
- List<String> list=resourceService.getCatelogTypeIsTheme();
|
|
|
|
|
|
+ List<String> list=resourceService.getCatelogTypeIsTheme(inputModel);
|
|
List<StatisticModel> statisticModelList=resourceService.getThemeSortTotal(inputModel);
|
|
List<StatisticModel> statisticModelList=resourceService.getThemeSortTotal(inputModel);
|
|
for (StatisticModel statisticModel : statisticModelList) {
|
|
for (StatisticModel statisticModel : statisticModelList) {
|
|
list.remove(statisticModel.getName());
|
|
list.remove(statisticModel.getName());
|