Blame view

src/main/java/com/order/erp/controller/OrderOptLogController.java 1.3 KB
“谢茂盛” authored
1
2
package com.order.erp.controller;
3
4
5
6
import com.order.erp.common.annotation.AnonymousAccess;
import com.order.erp.common.constant.ServerResult;
import com.order.erp.domain.vo.order.OrderOptLogQueryVO;
import com.order.erp.service.order.OrderOptLogService;
谢茂盛 authored
7
import io.swagger.annotations.Api;
8
9
10
11
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
“谢茂盛” authored
12
13
14
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
15
16
import javax.annotation.Resource;
“谢茂盛” authored
17
18
19
20
21
22
/**
 * 用户订单操作日志表(OrderOptLog)表控制层
 *
 * @author makejava
 * @since 2023-09-08 15:26:46
 */
23
@Api(tags = "订单操作日志")
“谢茂盛” authored
24
@RestController
25
@RequestMapping("/order/erp/opt/log")
“谢茂盛” authored
26
27
public class OrderOptLogController {
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
    @Resource
    private OrderOptLogService orderOptLogService;

    /**
     * 分页查询
     *
     * @param queryVO 查询条件
     * @return 查询结果
     */
    @PostMapping("/list_by_page")
    @ApiOperation("分页查询")
    @AnonymousAccess
    public ServerResult listByPage(@RequestBody @Validated OrderOptLogQueryVO queryVO) {
        return orderOptLogService.listByPage(queryVO);
    }
“谢茂盛” authored
44
45
}