33d4f1180ed2fc599520df54b37e3e474301c75b.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.RegBusDyaq;
import com.thinkgem.jeesite.modules.reg.entity.bus.RegBusQlr;
import com.thinkgem.jeesite.modules.reg.entity.bus.RegBusYwr;
import com.thinkgem.jeesite.modules.reg.dao.bus.RegBusYwrDao;

/**
 * 新义务人信息维护Service
 * @author xuyg
 * @version 2016-04-14
 */
@Service
@Transactional(readOnly = true)
public class RegBusYwrService extends CrudService<RegBusYwrDao, RegBusYwr> {

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

	@Transactional(readOnly = false)
	public void deleteywr(RegBusYwr regBusYwr) {
		dao.deleteywr(regBusYwr);
	}
	
	@Transactional(readOnly = false)
	public void insert(RegBusYwr regBusYwr) {
		regBusYwr.preInsert();
		dao.insert(regBusYwr);
	}
	
}