hr~ 10 tuntia sitten
vanhempi
commit
6ffedff312

+ 1 - 1
product-common/src/main/java/com/poyee/domain/ProductFastSale.java

@@ -31,7 +31,7 @@ public class ProductFastSale implements Serializable {
     /**
      * 主键
      */
-    @TableId(type = IdType.INPUT)
+    @TableId(type = IdType.AUTO)
     private Long id;
 
     /**

+ 1 - 1
product-common/src/main/java/com/poyee/domain/ProductPermission.java

@@ -27,7 +27,7 @@ import java.time.LocalDateTime;
 public class ProductPermission implements Serializable {
 
     private static final long serialVersionUID = 1L;
-    @TableId(type = IdType.INPUT)
+    @TableId(type = IdType.AUTO)
     private Long id;
 
     /**