value
2024-06-07 de49973c2b44d93349579b2203e209aed03b3656
inspect-server/src/main/java/com/yuanchu/mom/controller/StandardTreeController.java
@@ -11,10 +11,7 @@
import com.yuanchu.mom.service.StandardProductListService;
import com.yuanchu.mom.service.StandardTreeService;
import com.yuanchu.mom.vo.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.*;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.*;
@@ -147,4 +144,11 @@
    public Result upStandardProducts(@RequestBody Map<String, Object> product){
        return Result.success(standardTreeService.upStandardProducts(product));
    }
    @ValueAuth
    @PostMapping("/getStandTreeBySampleType")
    @ApiModelProperty("仅获取光纤的型号")
    public Result<?> getStandTreeBySampleType(String laboratory, String sampleType){
        return Result.success(standardTreeService.getStandTreeBySampleType(laboratory, sampleType));
    }
}