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; /** *

* 光纤配置的套管表 前端控制器 *

* * @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)); } }