lyh
5 天以前 fda571324684bc8d0945b3e2841305b1207fc3e9
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package com.lxzn.nc.controller;
 
import com.lxzn.framework.domain.base.request.NcLogInfoRequest;
import com.lxzn.framework.domain.nc.NcLogInfo;
import com.lxzn.framework.model.response.QueryPageResponseResult;
import com.lxzn.nc.service.INcLogInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;
 
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
 
/**
 * @Description: DNC日志管理
 * @Author:
 * @Date:   2024-12-17
 * @Version: V1.0
 */
@RestController
@RequestMapping("/doc/ncloginfo")
public class NcLogInfoController {
    @Autowired
    private INcLogInfoService iNcLogInfoService;
 
    /**
     * 日志查询
     * @param page
     * @param size
     * @param ncLogInfoRequest
     * @return
     */
    @GetMapping("/find/page/{page}/{size}")
    public QueryPageResponseResult<NcLogInfo> findPageList(@PathVariable("page") int page, @PathVariable("size") int size, NcLogInfoRequest ncLogInfoRequest) {
        return iNcLogInfoService.findByPageList(page, size, ncLogInfoRequest);
    }
 
    /**
     * 导出
     * @param ncLogInfoRequest
     * @return
     */
    @GetMapping("/exportXls")
    public ModelAndView exportXls(HttpServletRequest request, HttpServletResponse response,NcLogInfoRequest ncLogInfoRequest){
        return iNcLogInfoService.exportLogList(ncLogInfoRequest);
    }
 
}