e21c0d25e157c279443410b4417f4f0a2634f87d.svn-base 1.68 KB
/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.reg.service.bus;

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.reg.entity.bus.RegBusHisHouseQlr;
import com.thinkgem.jeesite.modules.reg.entity.bus.RegBusHisHouseYwr;
import com.thinkgem.jeesite.modules.reg.dao.bus.RegBusHisHouseYwrDao;

/**
 * 房屋历史数据录入义务人添加Service
 * @author wb
 * @version 2016-04-17
 */
@Service
@Transactional(readOnly = true)
public class RegBusHisHouseYwrService extends CrudService<RegBusHisHouseYwrDao, RegBusHisHouseYwr> {

	public RegBusHisHouseYwr get(String id) {
		return super.get(id);
	}
	
	public List<RegBusHisHouseYwr> findList(RegBusHisHouseYwr regBusHisHouseYwr) {
		return super.findList(regBusHisHouseYwr);
	}
	
	public Page<RegBusHisHouseYwr> findPage(Page<RegBusHisHouseYwr> page, RegBusHisHouseYwr regBusHisHouseYwr) {
		return super.findPage(page, regBusHisHouseYwr);
	}
	
	public Page<RegBusHisHouseYwr> findywrzjkPage(Page<RegBusHisHouseYwr> page, RegBusHisHouseYwr regBusHisHouseYwr) {
		regBusHisHouseYwr.setPage(page);
		page.setList(dao.findywrzjkList(regBusHisHouseYwr));
		return page;
	}
	
	@Transactional(readOnly = false)
	public void save(RegBusHisHouseYwr regBusHisHouseYwr) {
		super.save(regBusHisHouseYwr);
	}
	
	@Transactional(readOnly = false)
	public void delete(RegBusHisHouseYwr regBusHisHouseYwr) {
		super.delete(regBusHisHouseYwr);
	}
	
}