diff --git a/src/main/java/com/gxwebsoft/shop/entity/ShopStore.java b/src/main/java/com/gxwebsoft/shop/entity/ShopStore.java index 5c42c0b..c0fd540 100644 --- a/src/main/java/com/gxwebsoft/shop/entity/ShopStore.java +++ b/src/main/java/com/gxwebsoft/shop/entity/ShopStore.java @@ -1,6 +1,7 @@ package com.gxwebsoft.shop.entity; import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import java.time.LocalDateTime; import java.io.Serializable; @@ -64,6 +65,13 @@ public class ShopStore implements Serializable { @Schema(description = "轮廓") private String points; + @Schema(description = "仓库ID") + private Integer warehouseId; + + @Schema(description = "仓库名称") + @TableField(exist = false) + private String warehouseName; + @Schema(description = "用户ID") private Integer userId; diff --git a/src/main/java/com/gxwebsoft/shop/param/ShopStoreParam.java b/src/main/java/com/gxwebsoft/shop/param/ShopStoreParam.java index 59c5ecb..83d7708 100644 --- a/src/main/java/com/gxwebsoft/shop/param/ShopStoreParam.java +++ b/src/main/java/com/gxwebsoft/shop/param/ShopStoreParam.java @@ -56,6 +56,9 @@ public class ShopStoreParam extends BaseParam { @Schema(description = "经度和纬度") private String lngAndLat; + @Schema(description = "仓库ID") + private Integer warehouseId; + @Schema(description = "用户ID") @QueryField(type = QueryType.EQ) private Integer userId;