From b7eec5ee6770cc531dd57a4eca940f6886224aff Mon Sep 17 00:00:00 2001 From: YYC <1833023622@qq.com> Date: 星期五, 29 八月 2025 16:39:01 +0800 Subject: [PATCH] 页面条件查询 --- src/main/java/com/fzzy/api/view/pr/Api1203PR.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/fzzy/api/view/pr/Api1203PR.java b/src/main/java/com/fzzy/api/view/pr/Api1203PR.java index 367508d..0807b88 100644 --- a/src/main/java/com/fzzy/api/view/pr/Api1203PR.java +++ b/src/main/java/com/fzzy/api/view/pr/Api1203PR.java @@ -85,12 +85,12 @@ predicates.add(predicate2); } if (null != param.getStart()) { - Predicate predicate3 = cb.greaterThan(root.get("ywrq"), ContextUtil.getCurZero(param.getStart())); + Predicate predicate3 = cb.greaterThan(root.get("jysj"), ContextUtil.getCurZero(param.getStart())); predicates.add(predicate3); } if (null != param.getEnd()) { - Predicate predicate4 = cb.lessThan(root.get("ywrq"), ContextUtil.getNextZero(param.getEnd())); + Predicate predicate4 = cb.lessThan(root.get("jysj"), ContextUtil.getNextZero(param.getEnd())); predicates.add(predicate4); } return cb.and(predicates.toArray(new Predicate[0])); -- Gitblit v1.9.3