value
2024-05-31 f077f61bf145d9d6f2298263be5efea7d0b88266
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
36
package com.yuanchu.mom.controller;
 
import com.yuanchu.mom.annotation.ValueAuth;
import com.yuanchu.mom.service.InsBushingService;
import com.yuanchu.mom.vo.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
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;
 
    @ValueAuth
    @ApiModelProperty("/通过样品id获取样品下光纤配置内容")
    @PostMapping("/selectBushingBySampleId")
    public Result<?> selectBushingBySampleId(Integer sampleId){
        return Result.success(insBushingService.selectBushingBySampleId(sampleId));
    }
 
}