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

import com.pcloud.book.personalstage.dao.ReplaceCodeDao;
import com.pcloud.book.personalstage.entity.ReplaceCode;
import com.pcloud.common.core.dao.BaseDaoImpl;
import org.springframework.stereotype.Component;

import java.util.List;


@Component("replaceCodeDao")
public class ReplaceCodeDaoImpl extends BaseDaoImpl<ReplaceCode> implements ReplaceCodeDao {
    @Override
    public List<ReplaceCode> getAll() {
        return super.getSqlSession().selectList(getStatement("getAll"));
    }
}
