b64f30538a5cded3fb2053dbc4d4aeb540a2e841.svn-base 1.8 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.SRegBaseZdjbxxSub;
import com.thinkgem.jeesite.modules.sumdata.dao.datatable.SRegBaseZdjbxxSubDao;

/**
 * s_reg_base_zdjbxx_subService
 * @author xuyg
 * @version 2017-03-07
 */
@Service
@Transactional(readOnly = true)
public class SRegBaseZdjbxxSubService extends CrudService<SRegBaseZdjbxxSubDao, SRegBaseZdjbxxSub> {

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