7765d503fad7e16151cd45bfdd4d675b625a0e19.svn-base 1.67 KB
/**
 * Copyright © 2015-2018 ODM 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.RegBusYgdj;
import com.thinkgem.jeesite.modules.reg.dao.bus.RegBusYgdjDao;

/**
 * 预告登记信息维护Service
 * @author xuyg
 * @version 2015-10-28
 */
@Service
@Transactional(readOnly = true)
public class RegBusYgdjService extends CrudService<RegBusYgdjDao, RegBusYgdj> {

	public RegBusYgdj get(String id) {
		return super.get(id);
	}
	
	public List<RegBusYgdj> findList(RegBusYgdj regBusYgdj) {
		return super.findList(regBusYgdj);
	}
	
	public Page<RegBusYgdj> findPage(Page<RegBusYgdj> page, RegBusYgdj regBusYgdj) {
		return super.findPage(page, regBusYgdj);
	}
	
	@Transactional(readOnly = false)
	public void save(RegBusYgdj regBusYgdj) {
		super.save(regBusYgdj);
	}
	
	@Transactional(readOnly = false)
	public void delete(RegBusYgdj regBusYgdj) {
		super.delete(regBusYgdj);
	}
	
	@Transactional(readOnly = false)
	public void insert(RegBusYgdj regBusYgdj) {
		regBusYgdj.preInsert();
		dao.insert(regBusYgdj);
	}
	
	@Transactional(readOnly = false)
	public void deletezyyg(RegBusYgdj regBusYgdj) {
		dao.deletezyyg(regBusYgdj);
	}

	public RegBusYgdj getQlxxByYgzmh(String string) {
		// TODO Auto-generated method stub
		return dao.getQlxxByYgzmh(string);
	}

	public List<RegBusYgdj> getByHtbh(String htbh) {
		// TODO Auto-generated method stub
		return dao.getByHtbh(htbh);
	}
}