File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
APIJSONORM/src/main/java/apijson/orm Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -1035,21 +1035,21 @@ public String getColumnString(boolean inSQLJoin) throws Exception {
10351035 if (isPrepared () && column != null ) {
10361036
10371037 List <String > raw = getRaw ();
1038- boolean containRaw = raw != null && raw .contains (KEY_COLUMN );
1038+ boolean containRaw = raw != null && raw .contains (KEY_COLUMN );
10391039
10401040 String origin ;
10411041 String alias ;
10421042 int index ;
10431043
1044- for (String c : column ) {
1045- if (containRaw ) {
1046- // 由于 HashMap 对 key 做了 hash 处理,所以 get 比 containsValue 更快
1047- if ("" .equals (RAW_MAP .get (c )) || RAW_MAP .containsValue (c )) { // newSQLConfig 提前处理好的
1048- //排除@raw中的值,以避免使用date_format(date,'%Y-%m-%d %H:%i:%s') 时,冒号的解析出错
1049- column .remove (c );
1050- continue ;
1051- }
1052- }
1044+ for (String c : column ) {
1045+ if (containRaw ) {
1046+ // 由于 HashMap 对 key 做了 hash 处理,所以 get 比 containsValue 更快
1047+ if ("" .equals (RAW_MAP .get (c )) || RAW_MAP .containsValue (c )) { // newSQLConfig 提前处理好的
1048+ //排除@raw中的值,以避免使用date_format(date,'%Y-%m-%d %H:%i:%s') 时,冒号的解析出错
1049+ column .remove (c );
1050+ continue ;
1051+ }
1052+ }
10531053
10541054 index = c .lastIndexOf (":" ); //StringUtil.split返回数组中,子项不会有null
10551055 origin = index < 0 ? c : c .substring (0 , index );
You can’t perform that action at this time.
0 commit comments