diff --git a/mall-common/src/main/java/com/suisung/mall/common/modules/store/ShopStoreBase.java b/mall-common/src/main/java/com/suisung/mall/common/modules/store/ShopStoreBase.java index f793071e..d4a9f3a0 100644 --- a/mall-common/src/main/java/com/suisung/mall/common/modules/store/ShopStoreBase.java +++ b/mall-common/src/main/java/com/suisung/mall/common/modules/store/ShopStoreBase.java @@ -78,6 +78,9 @@ public class ShopStoreBase implements Serializable { @ApiModelProperty(value = "店铺状态(ENUM):0-关闭; 1-运营中, 商品是否可用,需要判断该商品店铺状态") private Integer store_is_open; + @ApiModelProperty(value = "店铺营业状态:1-营业中;2-已打烊;") + private Integer store_biz_state; + @ApiModelProperty(value = "上级店铺编号:创建店铺决定,所属分销商-不可更改! 佣金公平性考虑") private Integer shop_parent_id; diff --git a/mall-shop/src/main/resources/mapper/store/ShopStoreBaseMapper.xml b/mall-shop/src/main/resources/mapper/store/ShopStoreBaseMapper.xml index 82a18495..2d2c7b77 100644 --- a/mall-shop/src/main/resources/mapper/store/ShopStoreBaseMapper.xml +++ b/mall-shop/src/main/resources/mapper/store/ShopStoreBaseMapper.xml @@ -5,7 +5,7 @@ store_id , user_id, store_name, store_grade_id, store_logo, store_slogan, store_domain, store_area, store_district_id, - store_address, store_latitude, store_longitude, store_is_selfsupport, store_type, store_is_open, shop_parent_id, + store_address, store_latitude, store_longitude, store_is_selfsupport, store_type, store_is_open, store_biz_state, shop_parent_id, store_category_id, store_state_id, store_time, store_end_time, product_category_ids, store_o2o_tags, store_o2o_flag, store_o2o_merchant_id, store_circle, subsite_id, lkl_merchant_no, lkl_term_no, wx_qrcode, split_ratio @@ -69,6 +69,13 @@ and b.store_type=#{params.store_type} + + and b.store_is_open=#{params.storeIsOpen} + + + + and b.store_biz_state=#{params.storeBizState} + and b.store_name like concat('%', #{params.store_name}, '%') @@ -89,6 +96,8 @@ b.store_name, b.store_address, b.store_area, + b.store_is_open, + b.store_biz_state, a.store_opening_hours, a.store_close_hours, a.store_workingtime, @@ -127,6 +136,14 @@ and b.subsite_id=#{params.subSiteId} + + and b.store_is_open=#{params.storeIsOpen} + + + + and b.store_biz_state=#{params.storeBizState} + + and b.store_name like concat('%', #{params.storeName}, '%')