Merge branch 'ww' into test
This commit is contained in:
@@ -2,6 +2,7 @@ package cn.ysk.cashier.dto.product;
|
||||
|
||||
import cn.ysk.cashier.dto.BaseQueryDto;
|
||||
import lombok.Data;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
@@ -20,4 +21,11 @@ public class TbProductStockCountQueryCriteria extends BaseQueryDto {
|
||||
private Integer page = 0;
|
||||
|
||||
private Integer size = 10;
|
||||
|
||||
public String getProductName() {
|
||||
if(StringUtils.isNotBlank(productName)){
|
||||
return productName;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user