package cn.freemud.manager;

import cn.freemud.entities.vo.WxappPluginVo;
import cn.freemud.manager.dao.OpenPlatformWxappPluginBindDao;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.List;

@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest
public class OpenPlatformWxappPluginBindDaoTest {
    @Autowired
    private OpenPlatformWxappPluginBindDao openPlatformWxappPluginBindDao;
    @Test
    public void test() {
        List<WxappPluginVo> list = openPlatformWxappPluginBindDao.queryByWxAppid("123");
        System.out.println(list);
    }
}
