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); } }