|
|
|
@ -3,13 +3,12 @@ package com.elink.esua.epdc.controller; |
|
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
|
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.form.*; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.form.EpdcScreenEpidemicCommunityVaccinationStatisticsFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.form.EpdcScreenGridGovernanceItemFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.form.EpdcScreenVaccinationAgeVaccinationStatisticsFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.result.*; |
|
|
|
import com.elink.esua.epdc.service.EpdcScreenService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
@ -338,4 +337,56 @@ public class ApiScreenController { |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
return epdcScreenService.mapPartyMemberServices(formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 多元服务-社区服务列表 |
|
|
|
* @params [formDto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenActStatisticsResultDTO>> |
|
|
|
* @author zy |
|
|
|
* @since 2021/9/2 15:30 |
|
|
|
*/ |
|
|
|
@GetMapping("multipleService/communityServices") |
|
|
|
public Result<List<EpdcScreenActStatisticsResultDTO>> communityServices(EpdcScreenBasePageFormDTO formDto){ |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
return epdcScreenService.getCommunityServices(formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 多元服务-地图-社区服务列表 |
|
|
|
* @params [formDto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenActListResultDTO>> |
|
|
|
* @author zy |
|
|
|
* @since 2021/9/2 15:30 |
|
|
|
*/ |
|
|
|
@GetMapping("multipleService/mapCommunityServices") |
|
|
|
public Result<List<EpdcScreenActListResultDTO>> mapCommunityServices(EpdcScreenBasePageFormDTO formDto){ |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
return epdcScreenService.getMapCommunityServices(formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 多元服务-志愿服务列表 |
|
|
|
* @params [formDto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenActStatisticsResultDTO>> |
|
|
|
* @author zy |
|
|
|
* @since 2021/9/2 15:30 |
|
|
|
*/ |
|
|
|
@GetMapping("multipleService/volunteerServices") |
|
|
|
public Result<List<EpdcScreenActStatisticsResultDTO>> volunteerServices(EpdcScreenBasePageFormDTO formDto){ |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
return epdcScreenService.getVolunteerServices(formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 多元服务-地图-志愿服务列表 |
|
|
|
* @params [formDto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenActListResultDTO>> |
|
|
|
* @author zy |
|
|
|
* @since 2021/9/2 15:30 |
|
|
|
*/ |
|
|
|
@GetMapping("multipleService/mapVolunteerServices") |
|
|
|
public Result<List<EpdcScreenActListResultDTO>> mapVolunteerServices(EpdcScreenBasePageFormDTO formDto){ |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
return epdcScreenService.getMapVolunteerServices(formDto); |
|
|
|
} |
|
|
|
} |
|
|
|
|