zss
2023-08-29 6236d3f2ade69cfea844b1cfdd7622909dd42026
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
37
package com.yuanchu.limslaboratory.controller;
 
import com.yuanchu.limslaboratory.annotation.AuthHandler;
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("不合格品反馈-->获取不合格品评审信息")
    @AuthHandler
    public Result<NonConformanceReviewVo> getNonConformanceReview(NonConformingFeedbackDto nonConformingFeedbackDto){
 
        return Result.success(service.getNonConformanceReviewVo(nonConformingFeedbackDto));
    }
}