zhanghl
2025-05-15 b3ed5823f971c04e5f814711a49c9baf7cdf54b9
aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsPlateStandardRequireController.java
@@ -107,7 +107,7 @@
    /**
     * 钣金供应缺口报表
     */
//    @RequiresPermissions("ApsPlateStandardRequire:ApsPlateStandardRequire:supplyGapList")
    //@RequiresPermissions("Aps:ApsPlateStandardRequire:supplyGapList")
    @GetMapping("/supplyGapList")
    public TableDataInfo selectPlateSupplyGapList(ApsPlateStandardRequire apsPlateStandardRequire)
    {
@@ -115,4 +115,26 @@
        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();
    }
}