04a8367288b60441316740ef8bcc31fdfe3f5754.svn-base 1.61 KB
/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.reg.service.bus;

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.reg.entity.bus.SRegBusLq;
import com.thinkgem.jeesite.modules.reg.dao.bus.SRegBusLqDao;
import com.thinkgem.jeesite.modules.sumdata.entity.datatable.SRegBaseC;

/**
 * 森林林木权属汇总Service
 * @author wb
 * @version 2017-05-04
 */
@Service
@Transactional(readOnly = true)
public class SRegBusLqService extends CrudService<SRegBusLqDao, SRegBusLq> {

	public SRegBusLq get(String id) {
		return super.get(id);
	}
	
	public SRegBusLq getqxid(String id) {
		return dao.getqxid(id);
	}
	
	public List<SRegBusLq> findList(SRegBusLq sRegBusLq) {
		return super.findList(sRegBusLq);
	}
	
	public Page<SRegBusLq> findPage(Page<SRegBusLq> page, SRegBusLq sRegBusLq) {
		return super.findPage(page, sRegBusLq);
	}
	
	@Transactional(readOnly = false)
	public void save(SRegBusLq sRegBusLq) {
		super.save(sRegBusLq);
	}
	
	@Transactional(readOnly = false)
	public void delete(SRegBusLq sRegBusLq) {
		super.delete(sRegBusLq);
	}
	
	@Transactional(readOnly = false)
	public void insert(SRegBusLq sRegBusLq) {
		sRegBusLq.preInsert();
		dao.insert(sRegBusLq);
	}
	
	@Transactional(readOnly = false)
	public void update(SRegBusLq sRegBusLq) {
		sRegBusLq.preUpdate();
		dao.update(sRegBusLq);
	}
}