Commit d1c6d741c3f771e1b1198ea8e731c40882f9f2cc
1 parent
9c111acf
Revert "fix: 修复创建 DeliveryExpressDO 时提示 id 过大的问题"
This reverts commit 5632c515271943200f4b189204947632bf77ccc9.
Showing
1 changed file
with
1 additions
and
2 deletions
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/dal/dataobject/delivery/DeliveryExpressDO.java
| ... | ... | @@ -2,7 +2,6 @@ package cn.iocoder.yudao.module.trade.dal.dataobject.delivery; |
| 2 | 2 | |
| 3 | 3 | import cn.iocoder.yudao.framework.common.enums.CommonStatusEnum; |
| 4 | 4 | import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; |
| 5 | -import com.baomidou.mybatisplus.annotation.IdType; | |
| 6 | 5 | import com.baomidou.mybatisplus.annotation.KeySequence; |
| 7 | 6 | import com.baomidou.mybatisplus.annotation.TableId; |
| 8 | 7 | import com.baomidou.mybatisplus.annotation.TableName; |
| ... | ... | @@ -21,7 +20,7 @@ public class DeliveryExpressDO extends BaseDO { |
| 21 | 20 | /** |
| 22 | 21 | * 编号,自增 |
| 23 | 22 | */ |
| 24 | - @TableId(type = IdType.AUTO) | |
| 23 | + @TableId | |
| 25 | 24 | private Long id; |
| 26 | 25 | |
| 27 | 26 | /** | ... | ... |