package com.matrix; import cn.hutool.core.collection.CollUtil; import com.matrix.system.hive.bean.SysProjUse; import com.matrix.system.hive.dao.SysProjUseDao; 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; /** * @author wzy * @date 2021-04-12 **/ @RunWith(SpringRunner.class) @SpringBootTest(classes = {ZqErpApplication.class},webEnvironment =SpringBootTest.WebEnvironment.RANDOM_PORT) public class TcProjTest { @Autowired private SysProjUseDao sysProjUseDao; @Test public void tcProjTest() { // List projUses = sysProjUseDao.selectTaoCanListWithProj(); // if (CollUtil.isNotEmpty(projUses)) { // // } } }