Skip to content

Commit

Permalink
删除news
Browse files Browse the repository at this point in the history
  • Loading branch information
527515025 committed Apr 2, 2019
1 parent 2449a6e commit 0e2aa31
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 118 deletions.
50 changes: 0 additions & 50 deletions springboot-mybatis2/src/main/java/cn/abel/bean/News.java

This file was deleted.

23 changes: 0 additions & 23 deletions springboot-mybatis2/src/main/java/cn/abel/dao/NewsDao.java

This file was deleted.

40 changes: 0 additions & 40 deletions springboot-mybatis2/src/main/java/cn/abel/service/NewsService.java

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package cn.abel.service;

import cn.abel.BaseTest;
import cn.abel.bean.News;
import cn.abel.bean.User;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
Expand All @@ -14,16 +13,14 @@
*/
public class ServiceTest extends BaseTest {

@Autowired
private NewsService newsService;

@Autowired
private UserService userService;

@Test
public void dynamicDataSourceTest() throws Exception {
List<News> newsList = newsService.getByMap(null);
List<User> userList = userService.getByMap(null);
System.out.println("newsList----" + newsList.size() + "--userList---" + userList.size());
System.out.println("--userList---" + userList.size());

}
}

0 comments on commit 0e2aa31

Please sign in to comment.