| | |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | import org.jeecg.modules.dnc.entity.GuideCardBatch; |
| | | import org.jeecg.modules.dnc.service.IGuideCardBatchService; |
| | | import org.jeecg.modules.dncFlow.vo.GuideCardBatchFlowTaskVo; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | |
| | | return Result.OK(guideCardBatch); |
| | | } |
| | | |
| | | /** |
| | | * 发起确认流程 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @ApiOperation(value="nc文件对应数控程序加工确认表-发起确认流程", notes="nc文件对应数控程序加工确认表-发起确认流程") |
| | | @GetMapping(value = "/startGuideCardBatch") |
| | | public Result<?> startGuideCardBatch(String id){ |
| | | return guideCardBatchService.startGuideCardBatch(id); |
| | | } |
| | | |
| | | /** |
| | | * 流程节点审核 |
| | | * @param guideCardBatchFlowTaskVo |
| | | * @return |
| | | */ |
| | | @ApiOperation(value="nc文件对应数控程序加工确认表-流程节点审核", notes="nc文件对应数控程序加工确认表-流程节点审核") |
| | | @PostMapping(value = "/auditGuideCardBatch") |
| | | public Result<?> auditGuideCardBatch(@RequestBody GuideCardBatchFlowTaskVo guideCardBatchFlowTaskVo){ |
| | | return guideCardBatchService.auditGuideCardBatch(guideCardBatchFlowTaskVo); |
| | | } |
| | | |
| | | /** |
| | | * 导出excel |
| | | * |