“zhuo”
2023-08-10 cf347859a3a023f48bdb82e7702c0df8858759db
inspection-server/src/main/java/com/yuanchu/limslaboratory/controller/NonConformanceReviewController.java
对比新文件
@@ -0,0 +1,35 @@
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));
    }
}