zss
2023-09-12 cbf4b74927fe51c19c307d89b326ae999cb6a165
standard-server/src/main/java/com/yuanchu/mom/controller/TechniqueController.java
@@ -56,12 +56,9 @@
    }
    @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("添加生产工艺成功");
    }