|
|
@@ -3765,6 +3765,15 @@ public class GoodsServiceImpl implements GoodsService {
|
|
|
PredicateUtils.eq("uuid", StringConstant.BLANK, true)));
|
|
|
}
|
|
|
}
|
|
|
+ if (goodsFilter.getHavePrice() != null) {
|
|
|
+ if (goodsFilter.getHavePrice()) {
|
|
|
+ info.expression(PredicateUtils.and(PredicateUtils.isNotNull("qtyPrice"),
|
|
|
+ PredicateUtils.ne("qtyPrice", StringConstant.BLANK, true)));
|
|
|
+ } else {
|
|
|
+ info.expression(PredicateUtils.or(PredicateUtils.isNull("qtyPrice"),
|
|
|
+ PredicateUtils.eq("qtyPrice", StringConstant.BLANK, true)));
|
|
|
+ }
|
|
|
+ }
|
|
|
if (goodsFilter.getAudited() != null) {
|
|
|
info.expression(PredicateUtils.isNotNull("audited"));
|
|
|
info.expression(PredicateUtils.eq("audited", goodsFilter.getAudited(), true));
|