| | |
| | | return Result.success("添加生产工艺成功"); |
| | | } |
| | | |
| | | @ApiOperation("添加同一个型号生产工艺的版本") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "specificationsId", value = "型号id", dataTypeClass = Integer.class, required = true), |
| | | @ApiImplicitParam(name = "version", value = "当前版本", dataTypeClass = Integer.class, required = true) |
| | | }) |
| | | @PostMapping("/addVersion") |
| | | public Result<?> addVersion(Integer specificationsId,Integer version ) { |
| | | Integer version1 = techniqueService.addVersion(specificationsId,version); |
| | | return Result.success("添加型号"+specificationsId+"的生产工艺版本"+version1+"成功"); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "id", value = "生产工艺id", dataTypeClass = Integer.class,required = true) |