zss
2024-12-30 97bb7a8832281eafe0ef947ea095258d355e52f5
inspect-server/src/main/java/com/yuanchu/mom/controller/StandardTreeController.java
@@ -19,6 +19,8 @@
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;
@RestController
@@ -44,7 +46,7 @@
    @ApiOperation(value = "获取标准树(检验下单)")
    @GetMapping("/selectStandardTreeList2")
    public Result selectStandardTreeList2() {
        return Result.success(standardTreeService.selectStandardTreeList());
        return Result.success(standardTreeService.selectStandardTreeList2());
    }
    @ValueClassify("标准库")
@@ -181,6 +183,13 @@
        return Result.success();
    }
    @ValueClassify("标准库")
    @ApiOperation("导出标准库")
    @GetMapping("/exportStandTree")
    public void exportStandTree(HttpServletResponse response) throws IOException  {
        standardTreeService.exportStandTree(response);
    }
    @ValueAuth
    @ApiOperation("重置标准库单价")
    @PostMapping("/resetTreeOfPrice")