package com.qiankun.dao;

import com.qiankun.dao.core.AbsDao;
import com.qiankun.dao.core.Hints;
import com.qiankun.entity.RainbowPlanUser;
import org.springframework.stereotype.Repository;

@Repository
public class RainbowPlanUserDaoImpl extends AbsDao<RainbowPlanUser,String> implements RainbowPlanUserDao {
    @Override
    public RainbowPlanUser findByOpenid(String openid) {
        return findUnique("from RainbowPlanUser where openid=?",new Hints(),openid);
    }
}
