| | |
| | | package com.aps.core.controller.mainPlan; |
| | | |
| | | import com.aps.common.core.web.controller.BaseController; |
| | | import com.aps.common.core.web.domain.AjaxResult; |
| | | import com.aps.common.core.web.page.TableDataInfo; |
| | | import com.aps.common.security.annotation.RequiresPermissions; |
| | | import com.aps.core.domain.ApsPlateOrderPlanDate; |
| | | import com.aps.core.domain.ApsPlateOrderPlanManager; |
| | | import com.aps.core.domain.ApsPlateStandardRequire; |
| | | import com.aps.core.service.IApsPlateOrderPlanManagerService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 查询钣金工单需求 |
| | | */ |
| | | @RequiresPermissions("ApsPlatOrderPlanManager:requirement:list") |
| | | @GetMapping("/requirement/list") |
| | | public List<ApsPlateStandardRequire> list(String workOrderNo) |
| | | { |
| | | List<ApsPlateStandardRequire> list = iapPlateOrderPlanManagerService.selectApsPlanStandardRequire(workOrderNo); |
| | | return list; |
| | | } |
| | | |
| | | @RequiresPermissions("ApsPlatOrderPlanManager:planDate:edit") |
| | | @PutMapping("/planDate") |
| | | public AjaxResult list(@RequestBody ApsPlateOrderPlanDate apsPlateOrderPlanDate) |
| | | { |
| | | iapPlateOrderPlanManagerService.updatePlanDate(apsPlateOrderPlanDate); |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | } |