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

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.base.entity.RegBaseZsglbSub;
import com.thinkgem.jeesite.modules.reg.base.dao.RegBaseZsglbSubDao;

/**
 * 证书基础子表管理Service
 * @author jiangdb
 * @version 2018-01-09
 */
@Service
@Transactional(readOnly = true)
public class RegBaseZsglbSubService extends CrudService<RegBaseZsglbSubDao, RegBaseZsglbSub> {

	public RegBaseZsglbSub get(String id) {
		return super.get(id);
	}
	
	public List<RegBaseZsglbSub> findList(RegBaseZsglbSub regBaseZsglbSub) {
		return super.findList(regBaseZsglbSub);
	}
	
	public Page<RegBaseZsglbSub> findPage(Page<RegBaseZsglbSub> page, RegBaseZsglbSub regBaseZsglbSub) {
		return super.findPage(page, regBaseZsglbSub);
	}
	
	public List<RegBaseZsglbSub> findbymainid(String mainid){
		return dao.findbymainid(mainid);
	}
	
	@Transactional(readOnly = false)
	public void save(RegBaseZsglbSub regBaseZsglbSub) {
		super.save(regBaseZsglbSub);
	}
	
	@Transactional(readOnly = false)
	public void delete(RegBaseZsglbSub regBaseZsglbSub) {
		super.delete(regBaseZsglbSub);
	}
	
	@Transactional(readOnly = false)
	public void deleteByYwh(String mainId) {
		dao.deleteByYwh(mainId);
	}
	
}