Commit 47d35f6d authored by chenzhao's avatar chenzhao

存量合同2.0开发 接口补充

parent a0bd0338
......@@ -137,7 +137,7 @@ public class HistoryPeasantHouseholdController extends BaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/getByIds")
@ApiOperation(httpMethod = "GET",value = "存量合同电站分页查询", notes = "存量合同电站分页查询")
public ResponseModel<Page<HistoryPeasantHouseholdDto>> getByIds( @RequestParam(value = "ids",required = false) String ids) {
public ResponseModel<List<HistoryPeasantHouseholdDto>> getByIds( @RequestParam(value = "ids",required = false) String ids) {
Page<HistoryPeasantHouseholdDto> page = new Page<HistoryPeasantHouseholdDto>();
page.setCurrent(1);
page.setSize(Integer.MAX_VALUE);
......@@ -145,7 +145,8 @@ public class HistoryPeasantHouseholdController extends BaseController {
if (StringUtils.isNotEmpty(ids)){
strings= Arrays.asList(ids.split(","));
}
return ResponseHelper.buildResponse(historyPeasantHouseholdServiceImpl.queryForHistoryPeasantHouseholdPage(page,strings,null,null,null));
Page<HistoryPeasantHouseholdDto> historyPeasantHouseholdDtoPage = historyPeasantHouseholdServiceImpl.queryForHistoryPeasantHouseholdPage(page, strings, null, null, null);
return ResponseHelper.buildResponse(historyPeasantHouseholdDtoPage.getRecords());
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment