44f95314cca823b6f2536eb1514e27e843d7a187.svn-base 2.1 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.RegBusBdcqzsdjxx;
import com.thinkgem.jeesite.modules.reg.entity.bus.RegBusHisHouseQlr;
import com.thinkgem.jeesite.modules.reg.dao.bus.RegBusHisHouseQlrDao;

/**
 * 房屋历史数据录入权利人属性表Service
 * @author wb
 * @version 2016-04-16
 */
@Service
@Transactional(readOnly = true)
public class RegBusHisHouseQlrService extends CrudService<RegBusHisHouseQlrDao, RegBusHisHouseQlr> {

	public RegBusHisHouseQlr get(String id) {
		return super.get(id);
	}
	
	public RegBusHisHouseQlr getqlrzjk(String id) {
		return dao.getqlrzjk(id);
	}
	
	public List<RegBusHisHouseQlr> findList(RegBusHisHouseQlr regBusHisHouseQlr) {
		return super.findList(regBusHisHouseQlr);
	}
	
	public Page<RegBusHisHouseQlr> findPage(Page<RegBusHisHouseQlr> page, RegBusHisHouseQlr regBusHisHouseQlr) {
		return super.findPage(page, regBusHisHouseQlr);
	}
	
	public Page<RegBusHisHouseQlr> findqlrzjkPage(Page<RegBusHisHouseQlr> page, RegBusHisHouseQlr regBusHisHouseQlr) {
		regBusHisHouseQlr.setPage(page);
		page.setList(dao.findqlrzjkList(regBusHisHouseQlr));
		return page;
	}
	
	public List<RegBusHisHouseQlr> findqlrzjkList(RegBusHisHouseQlr regBusHisHouseQlr) {
		return dao.findqlrzjkList(regBusHisHouseQlr);
	}
	
	@Transactional(readOnly = false)
	public void save(RegBusHisHouseQlr regBusHisHouseQlr) {
		super.save(regBusHisHouseQlr);
	}
	
	@Transactional(readOnly = false)
	public void delete(RegBusHisHouseQlr regBusHisHouseQlr) {
		super.delete(regBusHisHouseQlr);
	}
	
	@Transactional(readOnly = false)
	public void deleteqlrzjk(RegBusHisHouseQlr regBusHisHouseQlr) {
		dao.deleteqlrzjk(regBusHisHouseQlr);
	}
	
	public String findMaxYwhLs(){
		return dao.findMaxYwhLs();
	} 
}