青羊经侦大队-数据平台
安瑾然
2022-07-14 5b04d19edea32888efa9ee4881395a21da348e3f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package com.example.jz.dao;
 
import com.example.jz.exception.BusinessException;
import com.example.jz.modle.vo.GroupUserVo;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
 
import java.util.List;
 
import static org.junit.jupiter.api.Assertions.*;
 
/**
 * @author 安瑾然
 * @data 2022/7/14 - 1:49 PM
 * @description
 */
@SpringBootTest
class GroupDaoTest {
    private GroupDao groupDao;
 
    @Autowired
    public void setGroupDao(GroupDao groupDao) {
        this.groupDao = groupDao;
    }
 
    @Test
    void getAllUser() {
        List<GroupUserVo> groupUserVos = groupDao.getAllUser(1);
        System.out.println(groupUserVos);
    }
}