| | |
| | | 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; |
| | | |
| | |
| | | @RequestMapping("/insBushing") |
| | | public class InsBushingController { |
| | | |
| | | private InsBushingService insBushingService; |
| | | |
| | | @ValueAuth |
| | | @ApiModelProperty("/通过样品id获取样品下光纤配置内容") |
| | | @PostMapping("/selectBushingBySampleId") |
| | | public Result<?> selectBushingBySampleId(Integer sampleId){ |
| | | return Result.success(insBushingService.selectBushingBySampleId(sampleId)); |
| | | } |
| | | |
| | | } |