From d26e31aad7a9e843ce149e88668ce38e2cefd219 Mon Sep 17 00:00:00 2001
From: 张天森 <1292933220@qq.com>
Date: 星期六, 08 十月 2022 14:59:55 +0800
Subject: [PATCH] update
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopOrderGoodsDO.java | 26 ++++++++------------------
1 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopOrderGoodsDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopOrderGoodsDO.java
index 8a7d9df..6197090 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopOrderGoodsDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComShopOrderGoodsDO.java
@@ -1,12 +1,12 @@
package com.panzhihua.service_community.model.dos;
-import com.baomidou.mybatisplus.annotation.*;
-import lombok.Data;
-
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
+import com.baomidou.mybatisplus.annotation.*;
+
+import lombok.Data;
/**
* @auther lyq
@@ -23,7 +23,7 @@
/**
* 订单商品id
*/
- @TableId(type = IdType.AUTO)
+ @TableId(type = IdType.ASSIGN_ID)
private Long id;
/**
@@ -84,19 +84,9 @@
@Override
public String toString() {
- return "ComShopOrderGoodsDO{" +
- "id=" + id +
- ", storeId=" + storeId +
- ", orderId=" + orderId +
- ", userId=" + userId +
- ", orderNo=" + orderNo +
- ", goodsId=" + goodsId +
- ", goodsAttrId=" + goodsAttrId +
- ", amount=" + amount +
- ", goodsAttrPrice=" + goodsAttrPrice +
- ", goodsAttrPic=" + goodsAttrPic +
- ", goodsName=" + goodsName +
- ", createAt=" + createAt +
- "}";
+ return "ComShopOrderGoodsDO{" + "id=" + id + ", storeId=" + storeId + ", orderId=" + orderId + ", userId="
+ + userId + ", orderNo=" + orderNo + ", goodsId=" + goodsId + ", goodsAttrId=" + goodsAttrId + ", amount="
+ + amount + ", goodsAttrPrice=" + goodsAttrPrice + ", goodsAttrPic=" + goodsAttrPic + ", goodsName="
+ + goodsName + ", createAt=" + createAt + "}";
}
}
\ No newline at end of file
--
Gitblit v1.7.1