From d9fa925dd5cfecd77d5f150baa6a71ff3de1be60 Mon Sep 17 00:00:00 2001 From: NH-LHG Date: Thu, 8 Jun 2023 14:20:13 +0800 Subject: [PATCH] =?UTF-8?q?[init]=E5=88=9B=E5=BB=BA=E8=83=BD=E8=BE=89erp?= =?UTF-8?q?=20=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/jeecg/modules/demo/erp/entity/ShoppingCart.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/erp/entity/ShoppingCart.java b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/erp/entity/ShoppingCart.java index ed30482..65cbb79 100644 --- a/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/erp/entity/ShoppingCart.java +++ b/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/erp/entity/ShoppingCart.java @@ -41,7 +41,12 @@ public class ShoppingCart implements Serializable { /**产品id*/ @Excel(name = "产品id", width = 15) @ApiModelProperty(value = "产品id") - private java.lang.Integer goodsId; + @JsonSerialize(using = ToStringSerializer.class) + private java.lang.Long goodsId; + /**产品规格*/ + @Excel(name = "产品规格", width = 15) + @ApiModelProperty(value = "产品规格") + private java.lang.String specs; /**产品名称*/ @Excel(name = "产品名称", width = 15) @ApiModelProperty(value = "产品名称")