|
@ -106,11 +106,11 @@ public class HuzhouProjectController { |
|
|
*/ |
|
|
*/ |
|
|
@ResponseResult |
|
|
@ResponseResult |
|
|
@GetMapping("/getProjectInfoAndChildPageList") |
|
|
@GetMapping("/getProjectInfoAndChildPageList") |
|
|
public IPage<HuzhouProjectinfoOV> queryPageList(HuzhouProjectinfo projectinfo, |
|
|
public IPage<HuzhouProjectinfoOV> queryPageList(HuzhouProjectinfo projectinfo, String newStage, |
|
|
@RequestParam(name="current", defaultValue="1") Integer pageNo, |
|
|
@RequestParam(name="current", defaultValue="1") Integer pageNo, |
|
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize){ |
|
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize){ |
|
|
projectinfo.setStage(projectinfo.getStage()); |
|
|
projectinfo.setStage(projectinfo.getStage()); |
|
|
IPage<HuzhouProjectinfoOV> pageList = projectinfoService.getProjectInfoAndChildPageList(projectinfo, pageNo, pageSize); |
|
|
IPage<HuzhouProjectinfoOV> pageList = projectinfoService.getProjectInfoAndChildPageList(projectinfo, pageNo, pageSize,newStage); |
|
|
|
|
|
|
|
|
return pageList; |
|
|
return pageList; |
|
|
} |
|
|
} |
|
@ -153,11 +153,10 @@ public class HuzhouProjectController { |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
@GetMapping("/projectArchivePageList") |
|
|
@GetMapping("/projectArchivePageList") |
|
|
public Result<?> projectArchivePageList(HuzhouProjectinfo projectinfo, |
|
|
public Result<?> projectArchivePageList(HuzhouProjectinfo projectinfo,String newStage, |
|
|
@RequestParam(name="current", defaultValue="1") Integer pageNo, |
|
|
@RequestParam(name="current", defaultValue="1") Integer pageNo, |
|
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize){ |
|
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize){ |
|
|
projectinfo.setStage("2"); |
|
|
IPage<HuzhouProjectinfoOV> pageList = projectinfoService.getProjectInfoAndChildPageList(projectinfo, pageNo, pageSize,newStage); |
|
|
IPage<HuzhouProjectinfoOV> pageList = projectinfoService.getProjectInfoAndChildPageList(projectinfo, pageNo, pageSize); |
|
|
|
|
|
return Result.OK(pageList); |
|
|
return Result.OK(pageList); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|