TestUserService.java 1.13 KB
/**
 * Copyright © 2015-2018 ODM All rights reserved.
 */
package com.thinkgem.jeesite.modules.muser.service;

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.muser.entity.TestUser;
import com.thinkgem.jeesite.modules.muser.dao.TestUserDao;

/**
 * 会员管理Service
 * @author xuyg
 * @version 2015-08-30
 */
@Service
@Transactional(readOnly = true)
public class TestUserService extends CrudService<TestUserDao, TestUser> {

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