whyclxw
3 天以前 bfa320956f20988fe671b0c4d25aa82fe766a98d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.whyc.controller;
 
import com.whyc.dto.Response;
import com.whyc.pojo.SOP;
import com.whyc.service.SOPLockLogService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
 
@RequestMapping("sopLockLog")
@RestController
@Api(tags = "SOPLockLog")
public class SOPLockLogController {
 
    @Autowired
    private SOPLockLogService service;
 
    @ApiOperation("查询指定sop的日志记录")
    @GetMapping("getSopLockLog")
    public Response getSopLockLog(@RequestParam int sopId) {
        return service.getSopLockLog(sopId);
    }
}