批量替代BOM
This commit is contained in:
parent
6db6bc3bef
commit
8f4fb88d4a
|
|
@ -565,6 +565,9 @@ public class BatchBomService {
|
|||
|
||||
public Workbook getExportExcelWork(BatchBomQuery query) {
|
||||
BomPageVO list = this.getParentBomList(query);
|
||||
if (ObjectUtil.isEmpty(list)) {
|
||||
return new Workbook().addSheet(new ListMapSheet("bom"));
|
||||
}
|
||||
long pages = list.getPages();
|
||||
List<BaseBomVO> voList = list.getRecords();
|
||||
Integer pageCount = Math.toIntExact(pages + 1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue