Skip to content

Commit

Permalink
增加 count 测试
Browse files Browse the repository at this point in the history
  • Loading branch information
abel533 committed May 30, 2019
1 parent 3e25bb9 commit dbe24fe
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -75,6 +75,9 @@ public void testExcludeAndSelectProperties(){
weekend2.selectProperties(Country::getId);
//查看日志执行的sql
countryMapper.selectByExample(weekend2);
//count 查询
weekend2.withCountProperty(Country::getCountryname);
countryMapper.selectCountByExample(weekend2);

}
}

0 comments on commit dbe24fe

Please sign in to comment.