Skip to content

Commit f6c3ed0

Browse files
committed
perft:优化
1:解决column加了函数(例如date_format)后,导致表达式超过50字符,改成100字符
1 parent 63d117f commit f6c3ed0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,9 +1171,9 @@ public String getColumnString(boolean inSQLJoin) throws Exception {
11711171
// }
11721172
}
11731173

1174-
if (expression.length() > 50) {
1174+
if (expression.length() > 100) {
11751175
throw new UnsupportedOperationException("@column:value 的 value 中字符串 " + expression + " 不合法!"
1176-
+ "不允许传超过 50 个字符的函数或表达式!请用 @raw 简化传参!");
1176+
+ "不允许传超过 100 个字符的函数或表达式!请用 @raw 简化传参!");
11771177
}
11781178

11791179

0 commit comments

Comments
 (0)