| | |
| | | } |
| | | |
| | | @ApiOperation("右上角新增-->生产工艺") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "technologyId", value = "工艺路线id", dataTypeClass = Integer.class, required = true) |
| | | }) |
| | | @PostMapping("/add") |
| | | public Result<?> addTechnique(Integer technologyId, @Validated @RequestBody TechniqueDto techniqueDto) { |
| | | techniqueService.addTechnique(technologyId, techniqueDto); |
| | | public Result<?> addTechnique(@Validated @RequestBody TechniqueDto techniqueDto) { |
| | | techniqueService.addTechnique(techniqueDto); |
| | | return Result.success("添加生产工艺成功"); |
| | | } |
| | | |