Skip to content

Commit 314c823

Browse files
committed
新增 @having 的对应的 @raw 配置示例;更新 apijson-orm.jar
1 parent 96ee66a commit 314c823

File tree

3 files changed

+1
-0
lines changed

3 files changed

+1
-0
lines changed
Binary file not shown.
Binary file not shown.

APIJSON-Java-Server/APIJSONBoot/src/main/java/apijson/demo/DemoSQLConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public String getUserIdKey(String database, String schema, String table) {
9393
RAW_MAP.put("SUBSTRING_INDEX(SUBSTRING_INDEX(content,',',1),',',-1)", ""); // APIAuto 不支持 ',可以用 Postman 测
9494
RAW_MAP.put("SUBSTRING_INDEX(SUBSTRING_INDEX(content,'.',1),'.',-1) AS subContent", ""); // APIAuto 不支持 ',可以用 Postman 测
9595
RAW_MAP.put("commentWhereItem1","(`Comment`.`userId` = 38710 AND `Comment`.`momentId` = 470)");
96+
RAW_MAP.put("to_days(now())-to_days(`date`)<=7",""); // 给 @having 使用
9697
}
9798

9899

0 commit comments

Comments
 (0)