/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/yogee/zhebuy">JeeSite</a> All rights reserved.
 */
package com.yogee.zhebuy.modules.ebuy.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yogee.zhebuy.common.persistence.Page;
import com.yogee.zhebuy.common.service.EbuyService;
import com.yogee.zhebuy.modules.ebuy.entity.EbuyConfig;
import com.yogee.zhebuy.modules.ebuy.dao.EbuyConfigDao;

/**
 * 平台配置Service
 * @author jackqth
 * @version 2017-08-15
 */
@Service
@Transactional(readOnly = true)
public class EbuyConfigService extends EbuyService<EbuyConfigDao, EbuyConfig> {

	@Autowired
	EbuyConfigDao ebuyConfigDao;
	public EbuyConfig get(String id) {
		return super.get(id);
	}
	
	public List<EbuyConfig> findList(EbuyConfig ebuyConfig) {
		return super.findList(ebuyConfig);
	}
	
	public Page<EbuyConfig> findPage(Page<EbuyConfig> page, EbuyConfig ebuyConfig) {
		return super.findPage(page, ebuyConfig);
	}
	
	@Transactional(readOnly = false)
	public int save(EbuyConfig ebuyConfig) {
		return super.save(ebuyConfig);
	}
	
	@Transactional(readOnly = false)
	public void delete(EbuyConfig ebuyConfig) {
		super.delete(ebuyConfig);
	}

	public String findSerTime() {
		return ebuyConfigDao.findSerTime();
	}

	public String findSupTime() {
		return ebuyConfigDao.findSupTime();
	}

	public String findPrintVersion() {
		return ebuyConfigDao.findPrintVersion();
	}
}