843b0ff8f15df4cfa5cadf676b0b1143eff27bf8.svn-base 1.66 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.SRegBusQlr;
import com.thinkgem.jeesite.modules.sumdata.entity.datatable.SRegBusSlsq;
import com.thinkgem.jeesite.modules.sumdata.dao.datatable.SRegBusQlrDao;

/**
 * s_reg_bus_qlrService
 * @author xuyg
 * @version 2017-03-08
 */
@Service
@Transactional(readOnly = true)
public class SRegBusQlrService extends CrudService<SRegBusQlrDao, SRegBusQlr> {

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

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