fei.wang
2024-04-15 61747a14819075bf6da2c1597b6c22e22e026686
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
package com.flow.controller;
 
import com.flow.mapper.CompanyMapper;
import com.flow.pojo.Duanxinlog;
import com.flow.pojo.OperationLog;
import com.flow.service.OperationLogService;
import com.flow.util.result;
import com.flow.util.resultutil;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
import java.util.List;
@RestController
@RequestMapping({"/hxzk"})
@Component
public class OperationLogController {
 
    @Autowired
    OperationLogService operationLogService;
    @GetMapping({"findOperationLog"})
    result<List<OperationLog>> findOperationLog(Integer page, Integer limit) {
        PageInfo<OperationLog> cz = this.operationLogService.FindOperationLog(page, limit);
        return resultutil.returnSuccess(cz.getTotal(), cz.getList());
    }
 
 
 
}