main
parent
127c8405dc
commit
8e05f8606f
|
|
@ -92,8 +92,8 @@ public class FirePointController {
|
||||||
}
|
}
|
||||||
@ApiOperation("消防点位-导出")
|
@ApiOperation("消防点位-导出")
|
||||||
@GetMapping("/exportFirePointPage")
|
@GetMapping("/exportFirePointPage")
|
||||||
public void exportFirePointPage( HttpServletResponse httpServletResponse) {
|
public void exportFirePointPage(@RequestParam("ids") Long[] ids, HttpServletResponse httpServletResponse) {
|
||||||
firePointService.exportFirePointPage(httpServletResponse);
|
firePointService.exportFirePointPage(ids,httpServletResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -109,9 +109,9 @@ public class FirePointQueryExe {
|
||||||
return firePointCO;
|
return firePointCO;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void exportFirePointPage(HttpServletResponse httpServletResponse) {
|
public void exportFirePointPage(Long[] ids,HttpServletResponse httpServletResponse) {
|
||||||
FirePointPageQry firePointPageQry = new FirePointPageQry();
|
FirePointPageQry firePointPageQry = new FirePointPageQry();
|
||||||
|
firePointPageQry.setIds(ids);
|
||||||
firePointPageQry.setPageSize(100000);
|
firePointPageQry.setPageSize(100000);
|
||||||
|
|
||||||
PageResponse<FirePointCO> firePointCOPageResponse = execute(firePointPageQry);
|
PageResponse<FirePointCO> firePointCOPageResponse = execute(firePointPageQry);
|
||||||
|
|
|
||||||
|
|
@ -70,8 +70,8 @@ public class FirePointServiceImpl implements FirePointServiceI {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void exportFirePointPage( HttpServletResponse httpServletResponse) {
|
public void exportFirePointPage( Long[] ids,HttpServletResponse httpServletResponse) {
|
||||||
firePointQueryExe.exportFirePointPage(httpServletResponse);
|
firePointQueryExe.exportFirePointPage(ids,httpServletResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ public interface FirePointServiceI {
|
||||||
|
|
||||||
void editAllDepartment(FirePointUpdateDepartmentCmd firePointUpdateDepartmentCmd);
|
void editAllDepartment(FirePointUpdateDepartmentCmd firePointUpdateDepartmentCmd);
|
||||||
|
|
||||||
void exportFirePointPage( HttpServletResponse httpServletResponse);
|
void exportFirePointPage(Long[] ids, HttpServletResponse httpServletResponse);
|
||||||
|
|
||||||
MultiResponse<FirePointCO> listByFireRegionId(String fireRegionId);
|
MultiResponse<FirePointCO> listByFireRegionId(String fireRegionId);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue