fix: 优化逻辑
This commit is contained in:
parent
1942b6c193
commit
9b811cb1c9
@ -1,35 +0,0 @@
|
||||
package com.yfd.platform.qgc_env.fb.controller;
|
||||
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_env.fb.service.FbStationService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/fb/bsmfr")
|
||||
@Tag(name = "亲鱼选配与培育-亲鱼信息")
|
||||
@Validated
|
||||
public class FbBsmfrController {
|
||||
|
||||
@Resource
|
||||
private FbStationService fbStationService;
|
||||
|
||||
@PostMapping("/qgc/GetKendoListCust")
|
||||
@Operation(summary = "(全过程)增殖站二级页面: 亲鱼选配与培育->亲鱼信息")
|
||||
public ResponseResult getQgcKendoListCust(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getQgcBsmfRKendoListCust(dataSourceRequest));
|
||||
}
|
||||
|
||||
@PostMapping("/fish/GetKendoListCust")
|
||||
@Operation(summary = "(全过程)增殖站二级页面: 过程图-亲鱼")
|
||||
public ResponseResult getFishKendoListCust(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getBsmfRFishKendoListCust(dataSourceRequest));
|
||||
}
|
||||
}
|
||||
@ -1,30 +0,0 @@
|
||||
package com.yfd.platform.qgc_env.fb.controller;
|
||||
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_env.fb.service.FbStationService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
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;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/fb/fbrdmr")
|
||||
@Tag(name = "鱼类增殖站年度鱼类标记数据")
|
||||
@Validated
|
||||
public class FbFbrdmrController {
|
||||
|
||||
@Resource
|
||||
private FbStationService fbStationService;
|
||||
|
||||
@GetMapping("/getFbRelatedYrByStcd")
|
||||
@Operation(summary = "根据增殖站编码查询相关业务年份")
|
||||
public ResponseResult getFbRelatedYrByStcd(@Parameter(description = "增殖站编码")
|
||||
@RequestParam("stcd") String stcd) {
|
||||
return ResponseResult.successData(fbStationService.getFbRelatedYrByStcd(stcd));
|
||||
}
|
||||
}
|
||||
@ -1,35 +0,0 @@
|
||||
package com.yfd.platform.qgc_env.fb.controller;
|
||||
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_env.fb.service.FbStationService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/fb/msfbrdm")
|
||||
@Tag(name = "鱼类增殖站增殖情况")
|
||||
@Validated
|
||||
public class FbMsfbrdmController {
|
||||
|
||||
@Resource
|
||||
private FbStationService fbStationService;
|
||||
|
||||
@PostMapping("/fbFlData/GetKendoListCust")
|
||||
@Operation(summary = "增殖站增殖情况(app)")
|
||||
public ResponseResult getFbFlData(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getFbFlDataKendoListCust(dataSourceRequest));
|
||||
}
|
||||
|
||||
@PostMapping("/qgc/GetKendoListCust")
|
||||
@Operation(summary = "(全过程)增殖站二级页面: 增殖放流情况")
|
||||
public ResponseResult getQgcKendoListCust(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getQgcMsfbrdmKendoListCust(dataSourceRequest));
|
||||
}
|
||||
}
|
||||
@ -1,29 +0,0 @@
|
||||
package com.yfd.platform.qgc_env.fb.controller;
|
||||
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_env.fb.service.FbStationService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/fb/msstbprpt")
|
||||
@Tag(name = "鱼类增殖站基础信息")
|
||||
@Validated
|
||||
public class FbMsstbprptController {
|
||||
|
||||
@Resource
|
||||
private FbStationService fbStationService;
|
||||
|
||||
@PostMapping("/GetKendoList")
|
||||
@Operation(summary = "鱼类增殖站基础信息列表")
|
||||
public ResponseResult getKendoList(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getMsstbprptList(dataSourceRequest));
|
||||
}
|
||||
}
|
||||
@ -1,29 +0,0 @@
|
||||
package com.yfd.platform.qgc_env.fb.controller;
|
||||
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_env.fb.service.FbStationService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/fb/base/researchb")
|
||||
@Tag(name = "鱼类增殖站科研情况")
|
||||
@Validated
|
||||
public class FbResearchbController {
|
||||
|
||||
@Resource
|
||||
private FbStationService fbStationService;
|
||||
|
||||
@PostMapping("/GetKendoList")
|
||||
@Operation(summary = "鱼类增殖站科研情况列表")
|
||||
public ResponseResult getKendoList(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getResearchKendoList(dataSourceRequest));
|
||||
}
|
||||
}
|
||||
@ -16,47 +16,90 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/fb/station")
|
||||
@Tag(name = "鱼类增殖站概况")
|
||||
@RequestMapping("/fb")
|
||||
@Tag(name = "鱼类增殖站模块")
|
||||
@Validated
|
||||
public class FbStationController {
|
||||
|
||||
@Resource
|
||||
private FbStationService fbStationService;
|
||||
|
||||
@PostMapping("/qgcoverview/getOverviewSecond")
|
||||
@PostMapping("/station/qgcoverview/getOverviewSecond")
|
||||
@Operation(summary = "全流域增殖站概况二级页面")
|
||||
public ResponseResult getQgcOverviewSecond(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getQgcOverviewSecond(dataSourceRequest));
|
||||
}
|
||||
|
||||
@PostMapping("/overview/getOverviewSecond")
|
||||
@PostMapping("/station/overview/getOverviewSecond")
|
||||
@Operation(summary = "增殖站概况二级页面")
|
||||
public ResponseResult getOverviewSecond(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getOverviewSecond(dataSourceRequest));
|
||||
}
|
||||
|
||||
@PostMapping("/overview/GetKendoListCust")
|
||||
@PostMapping("/station/overview/GetKendoListCust")
|
||||
@Operation(summary = "全流域增殖站概况")
|
||||
public ResponseResult getOverviewKendoListCust(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getOverviewKendoListCust(dataSourceRequest));
|
||||
}
|
||||
|
||||
@PostMapping("/qgc/getFbStaticsData")
|
||||
@PostMapping("/station/qgc/getFbStaticsData")
|
||||
@Operation(summary = "增殖站放流数据统计")
|
||||
public ResponseResult getQgcFbStaticsData(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getQgcFbStaticsData(dataSourceRequest));
|
||||
}
|
||||
|
||||
@GetMapping("/msstbprpt/getStInfoByStcd")
|
||||
@GetMapping("/station/msstbprpt/getStInfoByStcd")
|
||||
@Operation(summary = "增殖站单站基础信息")
|
||||
public ResponseResult getStInfoByStcd(@Parameter(description = "站点编码") @RequestParam("stcd") String stcd) {
|
||||
return ResponseResult.successData(fbStationService.getStInfoByStcd(stcd));
|
||||
}
|
||||
|
||||
@GetMapping("/rpimnr/qgc/year/GetYearRpStatistics")
|
||||
@GetMapping("/station/rpimnr/qgc/year/GetYearRpStatistics")
|
||||
@Operation(summary = "全过程放流统计总数,根据基地流域分组")
|
||||
public ResponseResult getYearRpStatistics(@Parameter(description = "年份") @RequestParam("year") String year) {
|
||||
return ResponseResult.successData(fbStationService.getYearRpStatistics(year));
|
||||
}
|
||||
|
||||
@PostMapping("/bsmfr/qgc/GetKendoListCust")
|
||||
@Operation(summary = "(全过程)增殖站二级页面: 亲鱼选配与培育->亲鱼信息")
|
||||
public ResponseResult getBsmfrQgcKendoListCust(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getQgcBsmfRKendoListCust(dataSourceRequest));
|
||||
}
|
||||
|
||||
@PostMapping("/bsmfr/fish/GetKendoListCust")
|
||||
@Operation(summary = "(全过程)增殖站二级页面: 过程图-亲鱼")
|
||||
public ResponseResult getBsmfrFishKendoListCust(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getBsmfRFishKendoListCust(dataSourceRequest));
|
||||
}
|
||||
|
||||
@GetMapping("/fbrdmr/getFbRelatedYrByStcd")
|
||||
@Operation(summary = "根据增殖站编码查询相关业务年份")
|
||||
public ResponseResult getFbRelatedYrByStcd(@Parameter(description = "增殖站编码")
|
||||
@RequestParam("stcd") String stcd) {
|
||||
return ResponseResult.successData(fbStationService.getFbRelatedYrByStcd(stcd));
|
||||
}
|
||||
|
||||
@PostMapping("/msfbrdm/fbFlData/GetKendoListCust")
|
||||
@Operation(summary = "增殖站增殖情况(app)")
|
||||
public ResponseResult getFbFlData(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getFbFlDataKendoListCust(dataSourceRequest));
|
||||
}
|
||||
|
||||
@PostMapping("/msfbrdm/qgc/GetKendoListCust")
|
||||
@Operation(summary = "(全过程)增殖站二级页面: 增殖放流情况")
|
||||
public ResponseResult getMsfbrdmQgcKendoListCust(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getQgcMsfbrdmKendoListCust(dataSourceRequest));
|
||||
}
|
||||
|
||||
@PostMapping("/msstbprpt/GetKendoList")
|
||||
@Operation(summary = "鱼类增殖站基础信息列表")
|
||||
public ResponseResult getMsstbprptKendoList(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getMsstbprptList(dataSourceRequest));
|
||||
}
|
||||
|
||||
@PostMapping("/base/researchb/GetKendoList")
|
||||
@Operation(summary = "鱼类增殖站科研情况列表")
|
||||
public ResponseResult getResearchKendoList(@RequestBody DataSourceRequest dataSourceRequest) {
|
||||
return ResponseResult.successData(fbStationService.getResearchKendoList(dataSourceRequest));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user