菜单 子集
存酒 购买须知 团购商品 用户列表 现金统计 订单详情 储值卡支付 商品排序 分组排序
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package cn.ysk.cashier.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@Data
|
||||
public class TbProductSortCriteria {
|
||||
|
||||
private Integer strId;
|
||||
|
||||
private Integer endId;
|
||||
|
||||
private List<Integer> ids;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package cn.ysk.cashier.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class TbCountStorageDto {
|
||||
private String name;
|
||||
private String imgUrl;
|
||||
private Long savNum;
|
||||
private Long expNum;
|
||||
|
||||
public TbCountStorageDto() {
|
||||
}
|
||||
|
||||
public TbCountStorageDto(String name,String imgUrl, Long savNum, Long expNum) {
|
||||
this.name = name;
|
||||
this.imgUrl = imgUrl;
|
||||
this.savNum = savNum;
|
||||
this.expNum = expNum;
|
||||
}
|
||||
}
|
||||
@@ -28,4 +28,10 @@ public class TbShopStorageGoodQueryCriteria {
|
||||
|
||||
private Integer page = 0;
|
||||
private Integer size = 10;
|
||||
|
||||
public void setShopId(Integer shopId) {
|
||||
if (shopId != null && shopId != 1) {
|
||||
this.shopId = shopId;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,24 +3,40 @@ package cn.ysk.cashier.dto.shop;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.StringJoiner;
|
||||
|
||||
@Data
|
||||
public class TbShopStorageQueryCriteria {
|
||||
/** 模糊 */
|
||||
/**
|
||||
* 模糊
|
||||
*/
|
||||
@Query(type = Query.Type.INNER_LIKE)
|
||||
private String name;
|
||||
|
||||
/** 精确 */
|
||||
/**
|
||||
* 精确
|
||||
*/
|
||||
@Query
|
||||
private Integer status;
|
||||
|
||||
/** 精确 */
|
||||
/**
|
||||
* 精确
|
||||
*/
|
||||
@Query
|
||||
private String telphone;
|
||||
|
||||
/** 精确 */
|
||||
/**
|
||||
* 精确
|
||||
*/
|
||||
@Query
|
||||
private Integer shopId;
|
||||
|
||||
private Integer page=0;
|
||||
private Integer size=10;
|
||||
private Integer page = 0;
|
||||
private Integer size = 10;
|
||||
|
||||
public void setShopId(Integer shopId) {
|
||||
if (shopId != null && shopId != 1) {
|
||||
this.shopId = shopId;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user