08642ca32930cce2f6111d8e30bca8b164067384.svn-base 1.42 KB
/**
 * Copyright © 2015-2018 ODM 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.RegBaseLjz;
import com.thinkgem.jeesite.modules.reg.dao.base.RegBaseLjzDao;

/**
 * 逻辑幢信息维护Service
 * @author xuyg
 * @version 2015-10-28
 */
@Service
@Transactional(readOnly = true)
public class RegBaseLjzService extends CrudService<RegBaseLjzDao, RegBaseLjz> {

	public RegBaseLjz get(String id) {
		return super.get(id);
	}
	
	public List<RegBaseLjz> findList(RegBaseLjz regBaseLjz) {
		return super.findList(regBaseLjz);
	}
	
	public Page<RegBaseLjz> findPage(Page<RegBaseLjz> page, RegBaseLjz regBaseLjz) {
		return super.findPage(page, regBaseLjz);
	}
	
	@Transactional(readOnly = false)
	public void save(RegBaseLjz regBaseLjz) {
		super.save(regBaseLjz);
	}
	
	@Transactional(readOnly = false)
	public void delete(RegBaseLjz regBaseLjz) {
		super.delete(regBaseLjz);
	}

	public String MaxZh(String zrzh) {
		// TODO Auto-generated method stub
		return dao.MaxZh(zrzh);
	}

	public RegBaseLjz getByZrzhLjzh(String zrzh, String zbm) {
		// TODO Auto-generated method stub
		return dao.getByZrzhLjzh(zrzh,zbm);
	}

	
	
}