订单查询增加userId参数筛选
This commit is contained in:
@@ -70,6 +70,8 @@ public class TbOrderInfoQueryCriteria{
|
||||
@Query(type = Query.Type.BETWEEN)
|
||||
private List<Long> createdAt;
|
||||
|
||||
private Integer userId;
|
||||
|
||||
|
||||
@Query
|
||||
private String tableName;
|
||||
@@ -79,4 +81,18 @@ public class TbOrderInfoQueryCriteria{
|
||||
public void setProductName(String productName) {
|
||||
if(StringUtils.isNotBlank(productName)) this.productName = productName;
|
||||
}
|
||||
|
||||
public Integer getPage() {
|
||||
if (page == null) {
|
||||
return 0;
|
||||
}
|
||||
return page;
|
||||
}
|
||||
|
||||
public Integer getPageSize() {
|
||||
if (pageSize == null) {
|
||||
return 10;
|
||||
}
|
||||
return pageSize;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user