增加@row关键字配置示例
This commit is contained in:
parent
92a9cf1da2
commit
cd817ff7b8
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user