59221a5c94e3dcba2e3442e10ac40fed95ff21b4.svn-base 1.4 KB
/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sys.service.config;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.sys.entity.config.SysUserConfig;
import com.thinkgem.jeesite.modules.sys.dao.config.SysUserConfigDao;

/**
 * 系统用户分页数管理Service
 * @author xuyg
 * @version 2016-11-10
 */
@Service
@Transactional(readOnly = true)
public class SysUserConfigService extends CrudService<SysUserConfigDao, SysUserConfig> {

	public SysUserConfig get(String id) {
		return super.get(id);
	}
	
	public SysUserConfig getByUserID(String userid) {
		return dao.getByUserID(userid);
	}
	
	public List<SysUserConfig> findList(SysUserConfig sysUserConfig) {
		return super.findList(sysUserConfig);
	}
	
	public Page<SysUserConfig> findPage(Page<SysUserConfig> page, SysUserConfig sysUserConfig) {
		return super.findPage(page, sysUserConfig);
	}
	
	@Transactional(readOnly = false)
	public void save(SysUserConfig sysUserConfig) {
		super.save(sysUserConfig);
	}
	
	@Transactional(readOnly = false)
	public void delete(SysUserConfig sysUserConfig) {
		super.delete(sysUserConfig);
	}
	
}