a482ab073aa712e3c639b350a1a56f253e723796.svn-base 1.63 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.SRegBusFz;
import com.thinkgem.jeesite.modules.sumdata.entity.datatable.SRegBusSlsq;
import com.thinkgem.jeesite.modules.sumdata.dao.datatable.SRegBusFzDao;

/**
 * s_reg_bus_fzService
 * @author xuyg
 * @version 2017-03-08
 */
@Service
@Transactional(readOnly = true)
public class SRegBusFzService extends CrudService<SRegBusFzDao, SRegBusFz> {

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

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