- 后端:基于新的代码规范,和 mybatis-plus 框架,重构 admin 框架
This commit is contained in:
@@ -32,6 +32,11 @@
|
||||
<artifactId>mybatis</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-annotation</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- RPC 相关 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.dubbo</groupId>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package cn.iocoder.common.framework.dataobject;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
|
||||
/**
|
||||
* extends BaseDO 扩展 delete 操作
|
||||
*
|
||||
@@ -11,6 +13,7 @@ public class DeletableDO extends BaseDO {
|
||||
/**
|
||||
* 是否删除
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user