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 = "产品名称")