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

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.base.SRegBaseSllmbhqk;
import com.thinkgem.jeesite.modules.reg.dao.base.SRegBaseSllmbhqkDao;
import com.thinkgem.jeesite.modules.sumdata.entity.datatable.SRegBaseC;

/**
 * 森林林木变化情况Service
 * @author wb
 * @version 2017-05-04
 */
@Service
@Transactional(readOnly = true)
public class SRegBaseSllmbhqkService extends CrudService<SRegBaseSllmbhqkDao, SRegBaseSllmbhqk> {

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