“谢茂盛”
authored
|
1
2
|
package com.order.erp.controller;
|
“谢茂盛”
authored
|
3
|
import com.order.erp.common.annotation.AnonymousAccess;
|
“谢茂盛”
authored
|
4
5
6
7
|
import com.order.erp.common.constant.ServerResult;
import com.order.erp.domain.vo.SysLogQueryVO;
import com.order.erp.domain.vo.SysLogVO;
import com.order.erp.service.SysLogService;
|
|
8
9
|
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
|
“谢茂盛”
authored
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* 系统日志(SysLog)表控制层
*
* @author makejava
* @since 2023-09-06 16:24:52
*/
|
|
24
|
@Api(tags = "系统日志")
|
“谢茂盛”
authored
|
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
@RestController
@RequestMapping("/order/erp/logs")
public class SysLogController {
/**
* 服务对象
*/
@Resource
private SysLogService sysLogService;
/**
* 分页查询
*
* @param sysLogQueryVO 查询条件
* @return 查询结果
*/
@PostMapping("/list")
|
“谢茂盛”
authored
|
41
|
@AnonymousAccess
|
|
42
|
@ApiOperation("分页查询")
|
“谢茂盛”
authored
|
43
44
45
46
47
48
|
public ServerResult list(@RequestBody @Validated SysLogQueryVO sysLogQueryVO) {
return sysLogService.list(sysLogQueryVO);
}
}
|