zouyu
2025-03-14 f50ebfa99b322690788a3c5cb4e5d8337acdbc64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.ruoyi.inspect.controller;
 
import com.ruoyi.common.core.domain.Result;
import com.ruoyi.inspect.service.InsBushingService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * <p>
 * 光纤配置的套管表 前端控制器
 * </p>
 *
 * @author 江苏鵷雏网络科技有限公司
 * @since 2024-05-30 05:58:16
 */
@Api(tags = "检验下单-光纤配置-套管")
@AllArgsConstructor
@RestController
@RequestMapping("/insBushing")
public class InsBushingController {
 
    private InsBushingService insBushingService;
 
    @ApiModelProperty("/通过样品id获取样品下光纤配置内容")
    @GetMapping("/selectBushingBySampleId")
    public Result<?> selectBushingBySampleId(Integer sampleId){
        return Result.success(insBushingService.selectBushingBySampleId(sampleId));
    }
 
}