package com.hollywood.manage.controller; import cn.afterturn.easypoi.excel.ExcelExportUtil; import cn.afterturn.easypoi.excel.entity.ExportParams; import com.hollywood.common.basic.ApiResult; import com.hollywood.common.basic.PageInfo; import com.hollywood.common.log.OperationLog; import com.hollywood.common.model.OperLog; import com.hollywood.common.utils.TimeUtils; import com.hollywood.common.utils.WebUtils; import com.hollywood.manage.query.OperLogQuery; import com.hollywood.manage.service.OperLogService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; import org.apache.poi.ss.usermodel.Workbook; import org.springframework.beans.factory.annotation.Autowired; 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.servlet.ServletOutputStream; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.net.URLEncoder; import java.util.List; /** *
* 操作日志 前端控制器 *
* * @author xiaochen * @since 2022-09-21 */ @Slf4j @Api(tags = "操作日志") @RestController @RequestMapping("/oper-log") public class OperLogController { private final OperLogService operLogService; @Autowired public OperLogController(OperLogService operLogService) { this.operLogService = operLogService; } @ApiOperation(value = "操作日志分页列表查询") @PostMapping("/page-list") public ApiResult