首页>代码>springMVC+springSecurity3.x+Mybaits3.x旧版蓝缘后台管理系统源代码下载>/普通web旧版蓝缘管理系统/lanyuanSystem/src/com/lanyuan/controller/LogController.java
package com.lanyuan.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.lanyuan.entity.Log;
import com.lanyuan.service.LogService;
import com.lanyuan.util.Common;
import com.lanyuan.util.PageView;

/**
 * 
 * @author lanyuan
 * 2013-11-19
 * @Email: mmm333zzz520@163.com
 * @version 1.0v
 */
@Controller
@RequestMapping(value="/background/log/")
public class LogController {
	@Autowired
	private LogService logService;
	
	/**
	 * 查询客户登陆信息
	 * @param model
	 * @param log
	 * @param pageNow
	 * @return
	 */
	@RequestMapping(value="query")
	public String queryUserLogin(Model model, Log log, String pageNow){
		PageView pageView = null;
		if(Common.isEmpty(pageNow)){
			pageView = new PageView(1);
		}else{
			pageView = new PageView(Integer.parseInt(pageNow));
		}
		logService.query(pageView, log);
		model.addAttribute("pageView", pageView);
		return "/background/log/list";
	}

}
最近下载更多
atheking  LV18 2020年11月30日
xutaohuayuan  LV4 2019年12月5日
1405553774  LV6 2019年9月26日
build138  LV20 2019年7月7日
523232  LV4 2019年6月10日
zxc123zdq  LV14 2019年6月5日
ghost_M  LV7 2019年3月28日
YIMINGXING  LV6 2019年1月3日
wanghanxue  LV9 2018年10月16日
hanfeiyang  LV8 2018年7月17日
最近浏览更多
jiyun2021  LV9 1月26日
dsadasdwf  LV12 2023年10月23日
Jacko01  LV8 2023年9月5日
96380677  LV1 2022年11月22日
请代深哥进入大佬世界  LV2 2022年6月17日
jjkj2012  LV1 2022年5月30日
tangjj7260  LV18 2022年4月6日
廖业贵  LV18 2021年6月28日
简简单单  LV4 2021年6月26日
andy xiao2222222  LV9 2021年6月8日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友