店铺增加了 store_biz_state 营业状态
This commit is contained in:
parent
5b897f371e
commit
3a8fb32bbd
@ -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;
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<sql id="Base_Column_List">
|
||||
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 @@
|
||||
<if test="params.store_type!=null">
|
||||
and b.store_type=#{params.store_type}
|
||||
</if>
|
||||
<if test="params.storeIsOpen!=null">
|
||||
and b.store_is_open=#{params.storeIsOpen}
|
||||
</if>
|
||||
|
||||
<if test="params.storeBizState!=null">
|
||||
and b.store_biz_state=#{params.storeBizState}
|
||||
</if>
|
||||
<if test="params.store_name!=null">
|
||||
and b.store_name like concat('%', #{params.store_name}, '%')
|
||||
</if>
|
||||
@ -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}
|
||||
</if>
|
||||
|
||||
<if test="params.storeIsOpen!=null">
|
||||
and b.store_is_open=#{params.storeIsOpen}
|
||||
</if>
|
||||
|
||||
<if test="params.storeBizState!=null">
|
||||
and b.store_biz_state=#{params.storeBizState}
|
||||
</if>
|
||||
|
||||
<if test="params.storeName!=null">
|
||||
and b.store_name like concat('%', #{params.storeName}, '%')
|
||||
</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user