Browse Source

代码提交 疫苗接种企业信息代码更新

origin/dept_screen
zhangfh 4 years ago
parent
commit
f4400304dd
  1. 5
      epdc-cloud-api/src/main/java/com/elink/esua/epdc/controller/ApiScreenController.java
  2. 2
      epdc-cloud-api/src/main/java/com/elink/esua/epdc/feign/AnalysisFeignClient.java
  3. 4
      epdc-cloud-api/src/main/java/com/elink/esua/epdc/feign/fallback/AnalysisFeignClientFallback.java
  4. 2
      epdc-cloud-api/src/main/java/com/elink/esua/epdc/service/EpdcScreenService.java
  5. 4
      epdc-cloud-api/src/main/java/com/elink/esua/epdc/service/impl/EpdcScreenServiceImpl.java

5
epdc-cloud-api/src/main/java/com/elink/esua/epdc/controller/ApiScreenController.java

@ -241,8 +241,9 @@ public class ApiScreenController {
* @since 2021/8/12 11:15
*/
@GetMapping("epidemic/companyVaccinationStatistics")
public Result<List<EpdcScreenEpidemicCompanyVaccinationStatisticsResultDTO>> epidemicCompanyVaccinationStatisticsList(){
return epdcScreenService.epidemicCompanyVaccinationStatisticsList();
public Result<List<EpdcScreenEpidemicCompanyVaccinationStatisticsResultDTO>> epidemicCompanyVaccinationStatisticsList(EpdcScreenEpidemicCompanyVaccinationStatisticsFormDto formDto){
ValidatorUtils.validateEntity(formDto);
return epdcScreenService.epidemicCompanyVaccinationStatisticsList(formDto);
}
/**

2
epdc-cloud-api/src/main/java/com/elink/esua/epdc/feign/AnalysisFeignClient.java

@ -204,7 +204,7 @@ public interface AnalysisFeignClient {
* @since 2021/8/12 11:19
*/
@GetMapping(value = "analysis/screen/epidemic/companyVaccinationStatistics",consumes = MediaType.APPLICATION_JSON_VALUE)
Result<List<EpdcScreenEpidemicCompanyVaccinationStatisticsResultDTO>> epidemicCompanyVaccinationStatisticsList();
Result<List<EpdcScreenEpidemicCompanyVaccinationStatisticsResultDTO>> epidemicCompanyVaccinationStatisticsList(EpdcScreenEpidemicCompanyVaccinationStatisticsFormDto formDto);
/**
* 疫情防控-疫苗接种年龄分布

4
epdc-cloud-api/src/main/java/com/elink/esua/epdc/feign/fallback/AnalysisFeignClientFallback.java

@ -106,8 +106,8 @@ public class AnalysisFeignClientFallback implements AnalysisFeignClient {
}
@Override
public Result<List<EpdcScreenEpidemicCompanyVaccinationStatisticsResultDTO>> epidemicCompanyVaccinationStatisticsList() {
return ModuleUtils.feignConError(ServiceConstant.EPDC_ANALYSIS_SERVER,"epidemicCompanyVaccinationStatisticsList");
public Result<List<EpdcScreenEpidemicCompanyVaccinationStatisticsResultDTO>> epidemicCompanyVaccinationStatisticsList(EpdcScreenEpidemicCompanyVaccinationStatisticsFormDto formDto) {
return ModuleUtils.feignConError(ServiceConstant.EPDC_ANALYSIS_SERVER,"epidemicCompanyVaccinationStatisticsList",formDto);
}
@Override

2
epdc-cloud-api/src/main/java/com/elink/esua/epdc/service/EpdcScreenService.java

@ -173,7 +173,7 @@ public interface EpdcScreenService {
* @author zhangfenghe
* @since 2021/8/12 11:17
*/
Result<List<EpdcScreenEpidemicCompanyVaccinationStatisticsResultDTO>> epidemicCompanyVaccinationStatisticsList();
Result<List<EpdcScreenEpidemicCompanyVaccinationStatisticsResultDTO>> epidemicCompanyVaccinationStatisticsList(EpdcScreenEpidemicCompanyVaccinationStatisticsFormDto formDto);
/**
* 疫情防控-疫苗接种年龄分布

4
epdc-cloud-api/src/main/java/com/elink/esua/epdc/service/impl/EpdcScreenServiceImpl.java

@ -107,8 +107,8 @@ public class EpdcScreenServiceImpl implements EpdcScreenService {
}
@Override
public Result<List<EpdcScreenEpidemicCompanyVaccinationStatisticsResultDTO>> epidemicCompanyVaccinationStatisticsList() {
return analysisFeignClient.epidemicCompanyVaccinationStatisticsList();
public Result<List<EpdcScreenEpidemicCompanyVaccinationStatisticsResultDTO>> epidemicCompanyVaccinationStatisticsList(EpdcScreenEpidemicCompanyVaccinationStatisticsFormDto formDto) {
return analysisFeignClient.epidemicCompanyVaccinationStatisticsList(formDto);
}
@Override

Loading…
Cancel
Save