|
|
@@ -0,0 +1,48 @@ |
|
|
|
package com.ningdatech.pmapi.gov.controller; |
|
|
|
|
|
|
|
|
|
|
|
import com.ningdatech.pmapi.gov.manage.BelongOrgManage; |
|
|
|
import com.ningdatech.pmapi.gov.model.vo.GovBusinessStripVO; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.validation.annotation.Validated; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
|
* <p> |
|
|
|
* 前端控制器 |
|
|
|
* </p> |
|
|
|
* |
|
|
|
* @author zpf |
|
|
|
* @since 2023-08-21 |
|
|
|
*/ |
|
|
|
@Slf4j |
|
|
|
@Validated |
|
|
|
@RestController |
|
|
|
@RequiredArgsConstructor |
|
|
|
@Api(value = "GovProjectCollectionController", tags = "电子政务规范项目归集控制器") |
|
|
|
@RequestMapping("/api/v1/gov-project-collection") |
|
|
|
public class GovProjectCollectionController { |
|
|
|
|
|
|
|
private final BelongOrgManage belongOrgManage; |
|
|
|
|
|
|
|
@GetMapping("/dictionary") |
|
|
|
@ApiOperation("获取条线列表") |
|
|
|
public List<GovBusinessStripVO> getGovBusinessStripList(@RequestParam(value = "type", required = false) String type) { |
|
|
|
return belongOrgManage.getGovBusinessStripList(type); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("/business-strip/expert/analysis") |
|
|
|
@ApiOperation("分析专家数据") |
|
|
|
public void analysisExpertOrg() { |
|
|
|
belongOrgManage.analysisExpertOrg(); |
|
|
|
} |
|
|
|
|
|
|
|
} |