| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6acdfba commit 45f3fee
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,8 +18,11 @@ SQLConfig.onFakeDelete(Map<String, Object> map) 来新增条件: <br /> | |||
| 18 | 18 | GET: map.put("deleted", 0) <br /> | |
| 19 | 19 | PUT: map.put("deleted", 0) <br /> | |
| 20 | 20 | DELETE: map.put("deleted", 1) <br /> | |
| 21 | - 当然也可以再加一个删除时间 deletedTime 之类的。(POST 用不上) | ||
| 22 | - | ||
| 21 | + 当然也可以再加一个删除时间 deletedTime 之类的。(POST 用不上) <br /> | ||
| 22 | + <br /> | ||
| 23 | + 还可以在 apijson-framework 层支持 Access 表新增字段 deleteKey, deletedValue, notDeletedValue, <br /> | ||
| 24 | + 然后读表自动配置是否为假删除 StringUtil.isNotEmpty(deleteKey, true) ,是假删除时 put 相应键值对。 <br /> | ||
| 25 | + | ||
| 23 | 26 | #### 新增支持 @having& | |
| 24 | 27 | ||
| 25 | 28 | 来实现内部条件 AND 连接,原来的 @having 由 AND 连接变为 OR 连接,保持 横或纵与 的统一规则。<br /> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments