|
|
|
@ -2,9 +2,7 @@ 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.EpdcScreenGridGovernanceItemDifficultFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.form.EpdcScreenGridGovernanceItemFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.form.EpdcScreenGridGovernanceRankingFormDTO; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.form.*; |
|
|
|
import com.elink.esua.epdc.dto.analysis.pc.screen.result.*; |
|
|
|
import com.elink.esua.epdc.service.EpdcScreenService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
@ -93,4 +91,82 @@ public class ApiScreenController { |
|
|
|
return epdcScreenService.governanceRanking(formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 党建引领-内容列表接口 |
|
|
|
* |
|
|
|
* @param formDto |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenPartyBuildingNoticeListResultDTO>> |
|
|
|
* @author Liuchuang |
|
|
|
* @since 2021/8/11 14:31 |
|
|
|
*/ |
|
|
|
@GetMapping("partyBuilding/noticeList") |
|
|
|
public Result<List<EpdcScreenPartyBuildingNoticeListResultDTO>> noticeList(EpdcScreenPartyBuildingNoticeListFormDTO formDto) { |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
return epdcScreenService.noticeList(formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 党建引领-党组织活动排名接口 |
|
|
|
* |
|
|
|
* @param formDto |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenPartyBuildingPartyOrgActResultDTO>> |
|
|
|
* @author Liuchuang |
|
|
|
* @since 2021/8/11 16:52 |
|
|
|
*/ |
|
|
|
@GetMapping("partyBuilding/partyOrgActList") |
|
|
|
public Result<List<EpdcScreenPartyBuildingPartyOrgActResultDTO>> partyOrgActList(EpdcScreenPartyBuildingPartyOrgActFormDTO formDto) { |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
return epdcScreenService.partyOrgActList(formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 党建引领-党组织类型列表接口 |
|
|
|
* |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenPartyBuildingPartyOrgTypeResultDTO>> |
|
|
|
* @author Liuchuang |
|
|
|
* @since 2021/8/11 14:34 |
|
|
|
*/ |
|
|
|
@GetMapping("partyBuilding/partyOrgTypeList") |
|
|
|
public Result<List<EpdcScreenPartyBuildingPartyOrgTypeResultDTO>> partyOrgTypeList() { |
|
|
|
return epdcScreenService.partyOrgTypeList(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 党建引领-党组织列表接口 |
|
|
|
* |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenPartyBuildingPartyOrgResultDTO>> |
|
|
|
* @author Liuchuang |
|
|
|
* @since 2021/8/11 14:34 |
|
|
|
*/ |
|
|
|
@GetMapping("partyBuilding/partyOrgList") |
|
|
|
public Result<List<EpdcScreenPartyBuildingPartyOrgResultDTO>> partyOrgList() { |
|
|
|
return epdcScreenService.partyOrgList(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 党建引领-党员亮身份列表 |
|
|
|
* |
|
|
|
* @param formDto |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenPartyBuildingBrightIdentityResultDTO>> |
|
|
|
* @author Liuchuang |
|
|
|
* @since 2021/8/11 14:37 |
|
|
|
*/ |
|
|
|
@GetMapping("partyBuilding/brightIdentity") |
|
|
|
public Result<List<EpdcScreenPartyBuildingBrightIdentityResultDTO>> brightIdentity(EpdcScreenPartyBuildingBrightIdentityFormDTO formDto) { |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
return epdcScreenService.brightIdentity(formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 党建引领-党员画像 |
|
|
|
* |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List<com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenPartyBuildingPartyMemberAgeResultDTO>> |
|
|
|
* @author Liuchuang |
|
|
|
* @since 2021/8/11 14:37 |
|
|
|
*/ |
|
|
|
@GetMapping("partyBuilding/partyMemberAge") |
|
|
|
public Result<List<EpdcScreenPartyBuildingPartyMemberAgeResultDTO>> partyMemberAge() { |
|
|
|
return epdcScreenService.partyMemberAge(); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|