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

import com.pcloud.book.pcloudkeyword.dao.PcloudRobotQrcodeDao;
import com.pcloud.book.pcloudkeyword.entity.PcloudRobotQrcode;
import com.pcloud.common.core.dao.BaseDaoImpl;
import org.springframework.stereotype.Component;

@Component("pcloudRobotQrcodeDao")
public class PcloudRobotQrcodeDaoImpl extends BaseDaoImpl<PcloudRobotQrcode> implements PcloudRobotQrcodeDao {

    @Override
    public PcloudRobotQrcode getByRobotType(Integer robotType) {
        return super.getSqlSession().selectOne(getStatement("getByRobotType"), robotType);
    }
}
