订单15分钟到期 状态监听 库存回滚
商品排序值 初始化 出入库 日志记录 酒品管理 购物车次日清空
This commit is contained in:
@@ -39,4 +39,10 @@ public class TbShopStorageQueryCriteria {
|
||||
this.shopId = shopId;
|
||||
}
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
if (status != null) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,20 +1,6 @@
|
||||
/*
|
||||
* Copyright 2019-2020 Zheng Jie
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package cn.ysk.cashier.dto.shop;
|
||||
|
||||
import cn.ysk.cashier.utils.StringUtils;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@@ -29,4 +15,21 @@ public class TbShopUserQueryCriteria {
|
||||
private Long page=1L;
|
||||
private Long size=10L;
|
||||
|
||||
public void setName(String name) {
|
||||
if (StringUtils.isNotBlank(name)) {
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
|
||||
public void setShopId(String shopId) {
|
||||
if (StringUtils.isNotBlank(shopId) && !shopId.equals(1)) {
|
||||
this.shopId = shopId;
|
||||
}
|
||||
}
|
||||
|
||||
public void setIsVip(Integer isVip) {
|
||||
if(isVip!=null){
|
||||
this.isVip = isVip;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user