Skip to content

Commit 3f04c57

Browse files
committed
Server:AbstractSQLConfig.putWhere优化性能
1 parent 4a2a159 commit 3f04c57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

APIJSON-Java-Server/APIJSONLibrary/src/main/java/zuo/biao/apijson/server/AbstractSQLConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ else if (andList == null || andList.contains(key) == false) {
629629
if (andList == null) {
630630
andList = new ArrayList<>();
631631
}
632-
else {
632+
else if (andList.isEmpty() == false) {
633633
if (andList.contains(KEY_ID)) {
634634
i ++;
635635
}

0 commit comments

Comments
 (0)