| | |
| | | * BOM数据管理Controller |
| | | * |
| | | * @author zhl |
| | | * @date 2025-04-22 |
| | | * @date 2025-04-22 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/ApsBom") |
| | |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ApsBom apsBom) |
| | | { |
| | | startPage(); |
| | | // startPage(); |
| | | List<ApsBom> list = apsBomService.selectApsBomList(apsBom); |
| | | return getDataTable(list); |
| | | } |
| | |
| | | public void export(HttpServletResponse response, ApsBom apsBom) |
| | | { |
| | | List<ApsBom> list = apsBomService.selectApsBomList(apsBom); |
| | | ExcelUtil<ApsBom> util = new ExcelUtil<ApsBom>(ApsBom.class); |
| | | ExcelUtil<ApsBom> util = new ExcelUtil<>(ApsBom.class); |
| | | util.exportExcel(response, list, "BOM数据管理数据"); |
| | | } |
| | | |