4b34aff932701d427808cbbe0e88a4ad5e9d644f.svn-base 1.8 KB
/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sumdata.service.datatable;

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.sumdata.entity.datatable.SRegBusBdcqzsdjxx;
import com.thinkgem.jeesite.modules.sumdata.dao.datatable.SRegBusBdcqzsdjxxDao;

/**
 * s_reg_bus_bdcqzsdjxxService
 * @author xuyg
 * @version 2017-03-07
 */
@Service
@Transactional(readOnly = true)
public class SRegBusBdcqzsdjxxService extends CrudService<SRegBusBdcqzsdjxxDao, SRegBusBdcqzsdjxx> {

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

	@Transactional(readOnly = false)
	public void insert(SRegBusBdcqzsdjxx sRegBusBdcqzsdjxx) {
		sRegBusBdcqzsdjxx.preInsert();
		dao.insert(sRegBusBdcqzsdjxx);
	}
	
	@Transactional(readOnly = false)
	public void update(SRegBusBdcqzsdjxx sRegBusBdcqzsdjxx) {
		sRegBusBdcqzsdjxx.preUpdate();
		dao.update(sRegBusBdcqzsdjxx);
	}
	
}