soft delete support type tinyint #1420

Closed
liuchenrang wants to merge 11 commits from liuchenrang/master into master
liuchenrang commented 2019-09-12 03:24:24 +00:00 (Migrated from github.com)

0 undelete 1 deleted

0 undelete 1 deleted

CI failed and could you give more comments about the change?

CI failed and could you give more comments about the change?
liuchenrang commented 2019-09-23 07:16:41 +00:00 (Migrated from github.com)

软删除不够灵活, 增加了一个接口可以实现自己的软删除策略。 目前我们项目的删除字段是tinyint类型, 1表示删除。0 表示没有删除。 如果设置了默认删除接口的实现。 在查找和更新是都会调用这个接口拿到过滤的条件, 测试添加了 软删除的测试代码。

软删除不够灵活, 增加了一个接口可以实现自己的软删除策略。 目前我们项目的删除字段是tinyint类型, 1表示删除。0 表示没有删除。 如果设置了默认删除接口的实现。 在查找和更新是都会调用这个接口拿到过滤的条件, 测试添加了 软删除的测试代码。
lunny added this to the 1.1.1 milestone 2020-03-10 01:22:05 +00:00
lunny modified the milestone from 1.1.1 to (deleted) 2021-06-08 12:24:06 +00:00
lunny modified the milestone from 1.2.0 to 1.2.0 2021-06-12 04:00:59 +00:00
lunny modified the milestone from 1.2.0 to 1.3.0 2021-06-12 04:07:59 +00:00
lunny modified the milestone from 1.3.0 to 2.0.0 2022-01-25 03:57:58 +00:00

outdated.

outdated.
lunny closed this pull request 2023-07-22 15:14:48 +00:00
lunny removed this from the 2.0.0 milestone 2023-07-26 01:27:23 +00:00

Pull request closed

Sign in to join this conversation.
No description provided.