|
@@ -1,13 +1,11 @@
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import org.dromara.system.domain.SysDept;
|
|
|
-import org.dromara.system.service.ISysUserService;
|
|
|
import org.example.DromaraApplication;
|
|
|
import org.example.join.domain.QueryColumn;
|
|
|
import org.example.join.domain.Table;
|
|
|
import org.example.join.sql.Sql;
|
|
|
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;
|
|
|
|
|
@@ -34,9 +32,6 @@ public class MySpringBootTest {
|
|
|
public final QueryColumn sex = new QueryColumn(sys_user, "sex");
|
|
|
public final QueryColumn create_by = new QueryColumn(sys_user, "create_by");
|
|
|
|
|
|
- @Autowired
|
|
|
- private ISysUserService service;
|
|
|
-
|
|
|
@Test
|
|
|
public void testCache() {
|
|
|
|
|
@@ -80,7 +75,6 @@ public class MySpringBootTest {
|
|
|
.leftJoin(sys_user).on(user_id.eq(dept_id))
|
|
|
.list();
|
|
|
|
|
|
-
|
|
|
System.out.println(JSONObject.toJSONString(list));
|
|
|
|
|
|
}
|