600d684b2b28d406d1161cedfdec02bbf37e107d.svn-base 1.72 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.SRegBusSfSub;
import com.thinkgem.jeesite.modules.sumdata.entity.datatable.SRegBusSlsq;
import com.thinkgem.jeesite.modules.sumdata.dao.datatable.SRegBusSfSubDao;

/**
 * s_reg_bus_sf_subService
 * @author xuyg
 * @version 2017-03-08
 */
@Service
@Transactional(readOnly = true)
public class SRegBusSfSubService extends CrudService<SRegBusSfSubDao, SRegBusSfSub> {

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

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