| | |
| | | /** |
| | | * 钣金供应缺口报表 |
| | | */ |
| | | @RequiresPermissions("ApsPlateStandardRequire:ApsPlateStandardRequire:supplyGapList") |
| | | @RequiresPermissions("Aps:ApsPlateStandardRequire:supplyGapList") |
| | | @GetMapping("/supplyGapList") |
| | | public TableDataInfo selectPlateSupplyGapList(ApsPlateStandardRequire apsPlateStandardRequire) |
| | | { |
| | |
| | | List<ApsPlateStandardRequire> list = apsPlateStandardRequireService.selectPlateSupplyGapList(apsPlateStandardRequire); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | @RequiresPermissions("Aps:ApsPlateStandardRequire:supplyGapListExport") |
| | | @Log(title = "钣金供应缺口报表导出", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/supplyGapListExport") |
| | | public void supplyGapListExport(HttpServletResponse response, ApsPlateStandardRequire apsPlateStandardRequire) |
| | | { |
| | | List<ApsPlateStandardRequire> list = apsPlateStandardRequireService.selectPlateSupplyGapList(apsPlateStandardRequire); |
| | | ExcelUtil<ApsPlateStandardRequire> util = new ExcelUtil<ApsPlateStandardRequire>(ApsPlateStandardRequire.class); |
| | | util.exportExcel(response, list, "钣金供应缺口报表数据"); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 生成钣金计划 |
| | | * */ |
| | | @PostMapping("/generatorPlan") |
| | | public AjaxResult generatorPlan() |
| | | { |
| | | apsPlateStandardRequireService.generatorPlan(); |
| | | return success(); |
| | | } |
| | | |
| | | } |