Skip to content

Commit

Permalink
3.0.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzue committed May 28, 2021
1 parent 64474ec commit ea996e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions dbv3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ def siteUrl = 'https://github.com/kongzue/DBV3' //项目在github主页地址
def gitUrl = 'https://github.com/kongzue/DBV3.git' //Git仓库的地址

group = "com.kongzue.db"//发布aar前缀根节点
version = "3.0.3.6"//发布aar的库版本
version = "3.0.3.7"//发布aar的库版本

android {
compileSdkVersion 29
compileSdkVersion 30

defaultConfig {
minSdkVersion 19
targetSdkVersion 29
versionCode 16
versionName "3.0.3.6"
targetSdkVersion 30
versionCode 17
versionName "3.0.3.7"
}

buildTypes {
Expand Down
2 changes: 1 addition & 1 deletion dbv3/src/main/java/com/kongzue/dbv3/util/DBHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public long findDataCount(String tableName, DBData findData, List<String> whereC
error("警告:数据库未初始化");
return 0;
}
StringBuffer sql = new StringBuffer("SELECT * FROM " + tableName);
StringBuffer sql = new StringBuffer("SELECT count(*) FROM " + tableName);
if (findData != null || whereConditions != null) {
sql.append(" where ");
if (findData != null) {
Expand Down

0 comments on commit ea996e4

Please sign in to comment.