other: pbom导出强制设置页码和页数避免前端传错误参数导致报错
This commit is contained in:
parent
c593a6341e
commit
a76f872d15
|
|
@ -83,6 +83,8 @@ public class PBomApi extends BaseApi {
|
|||
@LogRecord(success = "PBom-导出工作列表,操作结果:{{#_ret}}", bizNo = "",type = "PBom-导出工作列表")
|
||||
public void exportWorkDownLoad(@RequestBody BomNewPbomParentQuery query, HttpServletResponse response) throws IOException {
|
||||
//bomNewPbomParentService.workDetailsExcel(query,response);
|
||||
query.setPage(1L);
|
||||
query.setPageSize(1000L);
|
||||
IPage<BomNewPbomParentVO> data = bomNewPbomParentService.workDetailsListByPage(query);
|
||||
List<BomNewPbomWorkExcelVO> out = new ArrayList<>();
|
||||
if (!data.getRecords().isEmpty()) {
|
||||
|
|
@ -96,6 +98,8 @@ public class PBomApi extends BaseApi {
|
|||
@LogRecord(success = "PBom-导出已发布工作列表,操作结果:{{#_ret}}", bizNo = "",type = "PBom-已发布工作列表")
|
||||
public void releaseListDownLoad(@RequestBody BomNewPbomParentQuery query ,HttpServletResponse response) throws IOException {
|
||||
//bomNewPbomParentService.releaseListExcel(query,response);
|
||||
query.setPage(1L);
|
||||
query.setPageSize(1000L);
|
||||
IPage<BomNewPbomParentVO> data = bomNewPbomParentService.releaseListByPage(query);
|
||||
List<BomNewPbomWorkExcelVO> out = new ArrayList<>();
|
||||
if (!data.getRecords().isEmpty()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue