From cd817ff7b8f1c92784e976492af0e94e82d2eb74 Mon Sep 17 00:00:00 2001 From: zhoulingfeng <330233789@qq.com> Date: Sun, 22 Mar 2020 21:52:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0@row=E5=85=B3=E9=94=AE?= =?UTF-8?q?=E5=AD=97=E9=85=8D=E7=BD=AE=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../APIJSONBoot/src/main/java/apijson/boot/DemoSQLConfig.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/APIJSON-Java-Server/APIJSONBoot/src/main/java/apijson/boot/DemoSQLConfig.java b/APIJSON-Java-Server/APIJSONBoot/src/main/java/apijson/boot/DemoSQLConfig.java index c9c76b32..6a4fe28f 100755 --- a/APIJSON-Java-Server/APIJSONBoot/src/main/java/apijson/boot/DemoSQLConfig.java +++ b/APIJSON-Java-Server/APIJSONBoot/src/main/java/apijson/boot/DemoSQLConfig.java @@ -73,6 +73,10 @@ public class DemoSQLConfig extends APIJSONSQLConfig { // return null; // return null 则不生成 id,一般用于数据库自增 id // } }; + + // 自定义where条件拼接 + //RAW_MAP.put("commentWhereItem1","`Comment`.`userId` = 38710 and `Comment`.`momentId` = 470"); + //RAW_MAP.put("commentWhereItem2","`Comment`.`toId` = 0"); }