package com.pcloud.book.group.dao.impl;

import com.pcloud.book.group.dao.WeixinQrcodeGenerationDao;
import com.pcloud.book.group.entity.WeixinQrcodeGeneration;
import com.pcloud.common.core.dao.BaseDaoImpl;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @Author ruansiyuan
 * @Date 2019/10/29 10:27
 **/
@Component("weixinQrcodeGenerationDao")
public class WeixinQrcodeGenerationDaoImpl extends BaseDaoImpl<WeixinQrcodeGeneration> implements WeixinQrcodeGenerationDao {
    @Override
    public WeixinQrcodeGeneration getByGeneration(Integer generation) {
        return this.getSqlSession().selectOne(this.getStatement("getByGeneration"),generation);
    }
}
