| | |
| | | import java.util.Iterator; |
| | | import java.util.List; |
| | | import java.util.Objects; |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.alibaba.fastjson2.JSONObject; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.utils.StringUtils; |
| | | import com.ruoyi.system.query.SysOperLogQuery; |
| | | import io.swagger.annotations.Api; |
| | |
| | | @Api(tags = "操作日志记录") |
| | | public class SysOperlogController extends BaseController |
| | | { |
| | | @Autowired |
| | | @Resource |
| | | private ISysOperLogService operLogService; |
| | | |
| | | @RequiresPermissions("system:operlog:list") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysOperLog operLog) |
| | | |
| | | @ApiOperation(value = "操作日志查询") |
| | | @PostMapping("/list") |
| | | public R<List<SysOperLog>> list(@RequestBody SysOperLogQuery gy) |
| | | { |
| | | startPage(); |
| | | List<SysOperLog> list = operLogService.selectOperLogList(operLog); |
| | | return getDataTable(list); |
| | | List<SysOperLog> list = operLogService.list(); |
| | | return R.ok(list); |
| | | } |
| | | |
| | | |