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

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.bus.Kc01;
import com.thinkgem.jeesite.modules.reg.dao.bus.Kc01Dao;

/**
 * 网点信息查询Service
 * @author wb
 * @version 2018-07-12
 */
@Service
@Transactional(readOnly = true)
public class Kc01Service extends CrudService<Kc01Dao, Kc01> {

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