供应商

This commit is contained in:
2024-06-26 14:20:53 +08:00
parent 29299d3689
commit 6f9afcb246
6 changed files with 107 additions and 187 deletions

View File

@@ -1,41 +1,35 @@
/*
* 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 lombok.Data;
import java.util.List;
import cn.ysk.cashier.annotation.Query;
import org.apache.commons.lang3.StringUtils;
/**
* @website https://eladmin.vip
* @author lyf
* @date 2024-01-23
**/
* @author lyf
* @website https://eladmin.vip
* @date 2024-01-23
**/
@Data
public class TbShopPurveyorTransactQueryCriteria{
public class TbShopPurveyorTransactQueryCriteria {
/** 精确 */
/**
* 精确
*/
@Query
private String shopId;
/** 精确 */
/**
* 精确
*/
@Query(type = Query.Type.LEFT_LIKE)
private String purveyorName;
/** 精确 */
/**
* 精确
*/
@Query
private String purveyorId;
/**
@@ -54,11 +48,21 @@ public class TbShopPurveyorTransactQueryCriteria{
private Integer size;
private String sort;
public void setShopId(String shopId) {
if (StringUtils.isNotBlank(shopId) && !shopId.equals("1")) {
this.shopId = shopId;
}
}
public void setStatus(Integer status) {
if (status != null) {
this.status = status;
}
}
public void setType(String type) {
if (StringUtils.isNotBlank(type)) {
this.type = type;
}
}
}