| | |
| | | * @date 2025-04-08 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/plan") |
| | | @RequestMapping("/partPlan") |
| | | public class ApsPartPlanController extends BaseController |
| | | { |
| | | @Autowired |
| | |
| | | /** |
| | | * 查询零件计划管理列表 |
| | | */ |
| | | @RequiresPermissions("partPlan:plan:list") |
| | | @RequiresPermissions("partPlan:list") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ApsPartPlan apsPartPlan) |
| | | { |
| | |
| | | /** |
| | | * 导出零件计划管理列表 |
| | | */ |
| | | @RequiresPermissions("partPlan:plan:export") |
| | | @RequiresPermissions("partPlan:export") |
| | | @Log(title = "零件计划管理", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ApsPartPlan apsPartPlan) |
| | |
| | | /** |
| | | * 获取零件计划管理详细信息 |
| | | */ |
| | | @RequiresPermissions("partPlan:plan:query") |
| | | @RequiresPermissions("partPlan:query") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") String id) |
| | | { |
| | |
| | | /** |
| | | * 新增零件计划管理 |
| | | */ |
| | | @RequiresPermissions("partPlan:plan:add") |
| | | @RequiresPermissions("partPlan:add") |
| | | @Log(title = "零件计划管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody ApsPartPlan apsPartPlan) |
| | |
| | | /** |
| | | * 修改零件计划管理 |
| | | */ |
| | | @RequiresPermissions("partPlan:plan:edit") |
| | | @RequiresPermissions("partPlan:edit") |
| | | @Log(title = "零件计划管理", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ApsPartPlan apsPartPlan) |
| | |
| | | /** |
| | | * 删除零件计划管理 |
| | | */ |
| | | @RequiresPermissions("partPlan:plan:remove") |
| | | @RequiresPermissions("partPlan:remove") |
| | | @Log(title = "零件计划管理", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable String[] ids) |