对比新文件 |
| | |
| | | package com.yuanchu.limslaboratory.controller; |
| | | |
| | | import com.yuanchu.limslaboratory.pojo.Dto.NonConformingFeedbackDto; |
| | | import com.yuanchu.limslaboratory.pojo.NonConformanceReview; |
| | | import com.yuanchu.limslaboratory.pojo.vo.NonConformanceReviewVo; |
| | | import com.yuanchu.limslaboratory.service.NonConformanceReviewService; |
| | | import com.yuanchu.limslaboratory.vo.Result; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * @Author 寮犲 |
| | | * @Date 2023/8/9 |
| | | */ |
| | | @Api(tags = "璇曢獙绠$悊-->涓嶅悎鏍煎搧璇勫") |
| | | @RestController |
| | | @RequestMapping("/nonConformanceReview") |
| | | public class NonConformanceReviewController { |
| | | |
| | | @Resource |
| | | private NonConformanceReviewService service; |
| | | |
| | | |
| | | @GetMapping("/getNonConformanceReview") |
| | | @ApiOperation("涓嶅悎鏍煎搧鍙嶉-->鑾峰彇涓嶅悎鏍煎搧璇勫淇℃伅") |
| | | public Result<NonConformanceReviewVo> getNonConformanceReview(NonConformingFeedbackDto nonConformingFeedbackDto){ |
| | | |
| | | return Result.success(service.getNonConformanceReviewVo(nonConformingFeedbackDto)); |
| | | } |
| | | } |