zss
2023-09-07 9fe4b53620f1ea0a4278240a7acee7bc4ef739c6
standard-server/src/main/java/com/yuanchu/mom/controller/TechnologyController.java
@@ -69,16 +69,6 @@
        return Result.fail("更新失败");
    }
    @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 = technologyService.addVersion(specificationsId,version);
        return Result.success("添加型号"+specificationsId+"的工艺路线版本"+version1+"成功");
    }
    @ApiOperation(value = "删除")
    @ApiImplicitParams(value = {