增加@row关键字配置示例

This commit is contained in:
zhoulingfeng 2020-03-22 21:52:19 +08:00
parent 92a9cf1da2
commit cd817ff7b8

View File

@ -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");
}