4d0eefdaed8d638dfb4adc0b77b934ade1eecff8.svn-base 1.69 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.SRegBusCfdj;
import com.thinkgem.jeesite.modules.sumdata.entity.datatable.SRegBusSjhjtable;
import com.thinkgem.jeesite.modules.sumdata.dao.datatable.SRegBusCfdjDao;

/**
 * s_reg_bus_cfdjService
 * @author xuyg
 * @version 2017-03-07
 */
@Service
@Transactional(readOnly = true)
public class SRegBusCfdjService extends CrudService<SRegBusCfdjDao, SRegBusCfdj> {

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

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