| | |
| | | * @date 2025-04-08 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/ApsPlatePlan") |
| | | @RequestMapping("/apsPlatePlan") |
| | | public class ApsPlatePlanController extends BaseController { |
| | | @Autowired |
| | | private IApsPlatePlanService apsPlatePlanService; |
| | |
| | | /** |
| | | * 查询钣金计划管理列表 |
| | | */ |
| | | @RequiresPermissions("ApsPlatePlan:ApsPlatePlan:list") |
| | | @RequiresPermissions("apsPlatePlan:list") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ApsPlatePlan apsPlatePlan) { |
| | | //startPage(); |
| | |
| | | /** |
| | | * 导出钣金计划管理列表 |
| | | */ |
| | | // @RequiresPermissions("ApsPlatePlan:ApsPlatePlan:export") |
| | | @RequiresPermissions("apsPlatePlan:export") |
| | | @Log(title = "钣金计划管理", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ApsPlatePlan apsPlatePlan) { |
| | |
| | | /** |
| | | * 修改钣金计划管理 |
| | | */ |
| | | // @RequiresPermissions("ApsPlatePlan:ApsPlatePlan:edit") |
| | | @RequiresPermissions("apsPlatePlan:edit") |
| | | @Log(title = "钣金计划管理", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ApsPlatePlan apsPlatePlan) { |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | @RequiresPermissions("apsPlatePlan:import") |
| | | @PostMapping("/importData") |
| | | public AjaxResult importData(MultipartFile file) throws Exception { |
| | | ExcelUtil<ApsPlatePlanTemp> util = new ExcelUtil<ApsPlatePlanTemp>(ApsPlatePlanTemp.class); |
| | |
| | | * @param planTemp 包含部分计划信息的临时对象,用于确认计划 |
| | | * @return 返回操作结果的AjaxResult对象 |
| | | */ |
| | | @GetMapping("/confirmPart") |
| | | public AjaxResult confirmPart(ApsPlatePlanTemp planTemp) { |
| | | @PostMapping("/confirmPart") |
| | | public AjaxResult confirmPart(@RequestBody ApsPlatePlanTemp planTemp) { |
| | | return toAjax(apsPlatePlanService.confirmPlan(planTemp)); |
| | | } |
| | | /** |