src/main/java/com/yj/oa/project/controller/OperLogController.java

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

package com.yj.oa.project.controller;

import com.yj.oa.framework.annotation.Operlog;
import com.yj.oa.framework.web.controller.BaseController;
import com.yj.oa.framework.web.page.TableDataInfo;
import com.yj.oa.framework.web.po.AjaxResult;
import com.yj.oa.project.po.OperLog;
import com.yj.oa.project.service.operlog.IOperLogService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @author 永健
 */
@Controller
@RequestMapping("/operlog")
public class OperLogController extends BaseController{
    private String prefix = "system/operlog/";
    @Autowired
    IOperLogService iOperLogService;


    /**
     *
     * @描述:  跳转
     *
     * @params:
     * @return:
     * @date: 2018/10/2 18:12
    */

    @RequestMapping("/tolist")
    public String toList(){
        return prefix+"operlog";
    }



    /**
     *
     * @描述 表格列表
     *
     * @date 2018/9/16 10:52
     */
    @RequestMapping("/tableList")
    @ResponseBody
    public TableDataInfo listPag(OperLog operLog)
    {
        System.out.println(operLog.getOperModal()+"...");
        startPage();
        List<OperLog> operLogs = iOperLogService.selectOperLogList(operLog);
        return getDataTable(operLogs);
    }
后面还有 49 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。