瀏覽代碼

字段类型修改

zhaops 6 年之前
父節點
當前提交
82709bc609
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      diagbotman-service/src/main/java/com/diagbot/entity/LantoneProduct.java

+ 3 - 3
diagbotman-service/src/main/java/com/diagbot/entity/LantoneProduct.java

@@ -24,7 +24,7 @@ public class LantoneProduct implements Serializable {
      * 产品id
      */
     @TableId(value = "id", type = IdType.AUTO)
-    private Integer id;
+    private Long id;
 
     /**
      * 是否删除 N:未删除,Y:删除
@@ -92,11 +92,11 @@ public class LantoneProduct implements Serializable {
     private String accessType;
 
 
-    public Integer getId() {
+    public Long getId() {
         return id;
     }
 
-    public void setId(Integer id) {
+    public void setId(Long id) {
         this.id = id;
     }