|
|
@@ -1,8 +1,7 @@ |
|
|
|
package com.ningdatech.pmapi.gov.controller; |
|
|
|
|
|
|
|
|
|
|
|
import com.ningdatech.pmapi.gov.manage.BelongOrgManage; |
|
|
|
import com.ningdatech.pmapi.gov.model.vo.GovBusinessStripVO; |
|
|
|
import com.ningdatech.pmapi.gov.manage.GovProjectCollectionManage; |
|
|
|
import com.ningdatech.pmapi.gov.model.vo.GovProjectDictionaryVO; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
@@ -12,7 +11,6 @@ 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; |
|
|
|
|
|
|
|
/** |
|
|
@@ -31,12 +29,12 @@ import java.util.List; |
|
|
|
@RequestMapping("/api/v1/gov-project-collection") |
|
|
|
public class GovProjectCollectionController { |
|
|
|
|
|
|
|
private final BelongOrgManage belongOrgManage; |
|
|
|
private final GovProjectCollectionManage collectionManage; |
|
|
|
|
|
|
|
@GetMapping("/dictionary") |
|
|
|
@ApiOperation("获取条线列表") |
|
|
|
public List<GovBusinessStripVO> getGovBusinessStripList(@RequestParam(value = "type", required = false) String type) { |
|
|
|
return belongOrgManage.getGovBusinessStripList(type); |
|
|
|
@ApiOperation("字典") |
|
|
|
public List<GovProjectDictionaryVO> dictionary(@RequestParam(value = "type", required = false) String type) { |
|
|
|
return collectionManage.dictionary(type); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("/business-strip/expert/analysis") |
|
|
|