|
@@ -74,23 +74,17 @@ public class MuseumFlowController {
|
|
|
return CommonResult.success(result1);
|
|
|
}
|
|
|
|
|
|
-// @GetMapping("/selectPage")
|
|
|
-// @Operation(summary = "获取关于标本信息的分页")
|
|
|
-// public PageResult<MuseumInfoDO> selectPage(@Valid MuseumInfoPageReqVO pageVO) {
|
|
|
-// return museumInfoService.getMuseumInfoPage(pageVO);
|
|
|
-// }
|
|
|
+ @GetMapping("/selectPage")
|
|
|
+ @Operation(summary = "获取关于标本信息的分页")
|
|
|
+ public PageResult<MuseumInfoDO> selectPage(@Valid MuseumInfoPageReqVO pageVO) {
|
|
|
+ return museumInfoService.getMuseumInfoPage(pageVO);
|
|
|
+ }
|
|
|
|
|
|
-// @GetMapping("/page")
|
|
|
-// @Operation(summary = "根据所给参数获取标本在总库中的信息")
|
|
|
-// public CommonResult<PageResult<MuseumInfoDO>> selectPageMuseumFlowFormIntel(@Valid MuseumFlowPageVO pageVO) {
|
|
|
-// PageResult<MuseumInfoDO> event = new PageResult<>();
|
|
|
-// for (String number :pageVO.getNumber()){
|
|
|
-// MuseumInfoPageReqVO reqVO = new MuseumInfoPageReqVO();
|
|
|
-// reqVO.setSampleId(number);
|
|
|
-// PageResult<MuseumInfoDO> result = museumInfoService.getMuseumInfoPage(reqVO);
|
|
|
-// }
|
|
|
-// return CommonResult.success();
|
|
|
-// }
|
|
|
+ @GetMapping("/page")
|
|
|
+ @Operation(summary = "根据所给参数获取标本在总库中的信息")
|
|
|
+ public CommonResult<PageResult<MuseumFlowDO>> selectPageMuseumFlowFormIntel(@Valid MuseumFlowPageVO pageVO) {
|
|
|
+ return CommonResult.success(museumFlowService.selectPageMuseumFlowFormIntel(pageVO));
|
|
|
+ }
|
|
|
|
|
|
@GetMapping("/getFormIntel")
|
|
|
@Operation(summary = "根据id查找标本出回库中的信息,并展示在总库中的信息")
|