package com.cku.oa.gcWeb.service;

import com.cku.oa.gcWeb.dao.GCWebContestDao;
import com.cku.oa.gcWeb.entity.GCWebContest;
import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 美容官网考试大赛Service
 * @author yuanshuai
 * @version 2023-01-29
 */
@Service
@Transactional(readOnly = true)
public class GCWebContestService extends CrudService<GCWebContestDao, GCWebContest> {

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