Veronique 2 rokov pred
rodič
commit
22872e460a

+ 18 - 0
conf/esTemplate/storeplatform.json

@@ -59,6 +59,24 @@
       "enableStatue": {
         "type": "integer"
       },
+      "platformShopName": {
+        "type": "text",
+        "index": "not_analyzed"
+      },
+      "platformShopAddress": {
+        "type": "text",
+        "index": "not_analyzed"
+      },
+      "platformShopPhone": {
+        "type": "text",
+        "index": "not_analyzed"
+      },
+      "platformShopGeoLat": {
+        "type": "double"
+      },
+      "platformShopGeoLng": {
+        "type": "double"
+      },
       "createBy": {
         "type": "long"
       },

+ 62 - 1
ddCommon/src/main/java/com/dderp/common/entity/store/StorePlatform.java

@@ -11,6 +11,7 @@ import java.util.List;
  * 门店已开通的平台,包含订单和配送平台
  */
 public class StorePlatform extends BaseEntity {
+    @Comment("")
     @RColumn("id")
     private long id;
 
@@ -18,8 +19,8 @@ public class StorePlatform extends BaseEntity {
     @Comment("系统门店id")
     private long idStore;
 
-    @Comment("绑定的该平台系统中的门店id,由于对接订单时查找对应的绑定门店")
     @RColumn("platformstoreid")
+    @Comment("绑定的该平台系统中的门店id,由于对接订单时查找对应的绑定门店")
     private String platformStoreId;
 
     @RColumn("idplatforminfo")
@@ -42,6 +43,26 @@ public class StorePlatform extends BaseEntity {
     @Comment("是否开通 0未开通/1已开通")
     private int enableStatue;
 
+    @Comment("绑定平台中的门店名称")
+    @RColumn("platformshopname")
+    private String platformShopName;
+
+    @Comment("绑定平台中的门店地址")
+    @RColumn("platformshopaddress")
+    private String platformShopAddress;
+
+    @Comment("绑定平台中的门店电话")
+    @RColumn("platformshopphone")
+    private String platformShopPhone;
+
+    @Comment("绑定平台中的门店Lat")
+    @RColumn("platformshopgeolat")
+    private double platformShopGeoLat;
+
+    @Comment("绑定平台中的门店Lng")
+    @RColumn("platformshopgeolng")
+    private double platformShopGeoLng;
+
     @Comment("已填写的开通各平台需求的信息")
     private List<StorePlatformRequire> requireList = new ArrayList<>();
 
@@ -116,4 +137,44 @@ public class StorePlatform extends BaseEntity {
     public void setPlatformStoreId(String platformStoreId) {
         this.platformStoreId = platformStoreId;
     }
+
+    public String getPlatformShopName() {
+        return platformShopName;
+    }
+
+    public void setPlatformShopName(String platformShopName) {
+        this.platformShopName = platformShopName;
+    }
+
+    public String getPlatformShopAddress() {
+        return platformShopAddress;
+    }
+
+    public void setPlatformShopAddress(String platformShopAddress) {
+        this.platformShopAddress = platformShopAddress;
+    }
+
+    public String getPlatformShopPhone() {
+        return platformShopPhone;
+    }
+
+    public void setPlatformShopPhone(String platformShopPhone) {
+        this.platformShopPhone = platformShopPhone;
+    }
+
+    public double getPlatformShopGeoLat() {
+        return platformShopGeoLat;
+    }
+
+    public void setPlatformShopGeoLat(double platformShopGeoLat) {
+        this.platformShopGeoLat = platformShopGeoLat;
+    }
+
+    public double getPlatformShopGeoLng() {
+        return platformShopGeoLng;
+    }
+
+    public void setPlatformShopGeoLng(double platformShopGeoLng) {
+        this.platformShopGeoLng = platformShopGeoLng;
+    }
 }