4fc82be3ffeef5928361f38d6a24d00e9aeb80d6.svn-base 1.62 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.SRegBusSlsq;
import com.thinkgem.jeesite.modules.sumdata.dao.datatable.SRegBusSlsqDao;

/**
 * s_reg_bus_slsqService
 * @author xuyg
 * @version 2017-03-08
 */
@Service
@Transactional(readOnly = true)
public class SRegBusSlsqService extends CrudService<SRegBusSlsqDao, SRegBusSlsq> {

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

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