5964bf89c79a2e98d770b6ce9719caf47d14f414.svn-base 1.92 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.beans.factory.annotation.Autowired;
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.common.utils.StringUtils;
import com.thinkgem.jeesite.modules.reg.entity.base.RegBaseZdjbxx;
import com.thinkgem.jeesite.modules.reg.entity.base.RegBaseZdjbxxSub;
import com.thinkgem.jeesite.modules.reg.dao.base.RegBaseZdjbxxSubDao;

/**
 * 宗地子表信息Service
 * @author hsg
 * @version 2016-11-08
 */
@Service
@Transactional(readOnly = true)
public class RegBaseZdjbxxSubService extends CrudService<RegBaseZdjbxxSubDao, RegBaseZdjbxxSub> {
	@Autowired
	protected RegBaseZdjbxxSubDao regBaseZdjbxxSubDao;
	public RegBaseZdjbxxSub getByZdId(String zdid){
		return regBaseZdjbxxSubDao.getZdId(zdid);
	}

	public RegBaseZdjbxxSub get(String id) {
		return super.get(id);
	}
	
	public List<RegBaseZdjbxxSub> findList(RegBaseZdjbxxSub regBaseZdjbxxSub) {
		return super.findList(regBaseZdjbxxSub);
	}
	
	public Page<RegBaseZdjbxxSub> findPage(Page<RegBaseZdjbxxSub> page, RegBaseZdjbxxSub regBaseZdjbxxSub) {
		return super.findPage(page, regBaseZdjbxxSub);
	}
	
	@Transactional(readOnly = false)
	public void save(RegBaseZdjbxxSub regBaseZdjbxxSub) {
		super.save(regBaseZdjbxxSub);
	}
	
	@Transactional(readOnly = false)
	public void delete(RegBaseZdjbxxSub regBaseZdjbxxSub) {
		super.delete(regBaseZdjbxxSub);
	}
	
	@Transactional(readOnly = false)
	public void deleteSub(RegBaseZdjbxxSub regBaseZdjbxxSub) {
		dao.deleteSub(regBaseZdjbxxSub);
	}
	
	@Transactional(readOnly = false)
	public void deleteByzdid(String zdid) {
		dao.deleteByzdid(zdid);
	}
}