diff --git a/mcwl-resource/src/main/java/com/mcwl/resource/domain/MallProduct.java b/mcwl-resource/src/main/java/com/mcwl/resource/domain/MallProduct.java index cb0fe36..614a4eb 100644 --- a/mcwl-resource/src/main/java/com/mcwl/resource/domain/MallProduct.java +++ b/mcwl-resource/src/main/java/com/mcwl/resource/domain/MallProduct.java @@ -28,15 +28,11 @@ public class MallProduct extends BaseEntity { * ID */ @TableId - private Long Id; + private Integer productId; /** * 用户ID */ private Integer userId; - /** - * 商品ID - */ - private Integer productId; /** * 商品名称 */ diff --git a/mcwl-resource/src/main/resources/mapper/resource/MallProductMapper.xml b/mcwl-resource/src/main/resources/mapper/resource/MallProductMapper.xml index 3f2ff06..1e8d1c8 100644 --- a/mcwl-resource/src/main/resources/mapper/resource/MallProductMapper.xml +++ b/mcwl-resource/src/main/resources/mapper/resource/MallProductMapper.xml @@ -6,9 +6,8 @@