Skip to content

Commit 914b50a

Browse files
committed
fix:bug修复
1:修复List集合使用remove方法引发ConcurrentModificationException 2:修复remove RAW_MAP字段后,引发自定义column列@raw报错
1 parent 63d117f commit 914b50a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ public String getColumnString(boolean inSQLJoin) throws Exception {
10461046
// 由于 HashMap 对 key 做了 hash 处理,所以 get 比 containsValue 更快
10471047
if ("".equals(RAW_MAP.get(c)) || RAW_MAP.containsValue(c)) { // newSQLConfig 提前处理好的
10481048
//排除@raw中的值,以避免使用date_format(date,'%Y-%m-%d %H:%i:%s') 时,冒号的解析出错
1049-
column.remove(c);
1049+
//column.remove(c);
10501050
continue;
10511051
}
10521052
}

0 commit comments

Comments
 (0)