2025-03-03 11:55:52 +08:00
|
|
|
import com.electromagnetic.industry.software.common.enums.DataOwnEnum;
|
|
|
|
|
import com.electromagnetic.industry.software.common.resp.ElectromagneticResult;
|
|
|
|
|
import com.electromagnetic.industry.software.manage.Application;
|
|
|
|
|
import com.electromagnetic.industry.software.manage.service.EdFileInfoService;
|
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
|
import org.springframework.boot.test.context.SpringBootTest;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
|
|
|
|
|
@SpringBootTest(classes = Application.class)
|
|
|
|
|
public class Test1 {
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
private EdFileInfoService edFileInfoService;
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void testFollow() {
|
|
|
|
|
ElectromagneticResult<?> tree = edFileInfoService.tree(DataOwnEnum.USER_FILE.code);
|
|
|
|
|
System.out.println("tree = " + tree);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|