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/Api1109PR.java | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/fzzy/api/view/pr/Api1109PR.java b/src/main/java/com/fzzy/api/view/pr/Api1109PR.java index f9d4348..f4d2885 100644 --- a/src/main/java/com/fzzy/api/view/pr/Api1109PR.java +++ b/src/main/java/com/fzzy/api/view/pr/Api1109PR.java @@ -87,12 +87,12 @@ predicates.add(predicate2); } if (null != param.getStart()) { - Predicate predicate3 = cb.greaterThan(root.<Date>get("qdrq"), ContextUtil.getCurZero(param.getStart())); + Predicate predicate3 = cb.greaterThan(root.<Date>get("zhgxsj"), ContextUtil.getCurZero(param.getStart())); predicates.add(predicate3); } if (null != param.getEnd()) { - Predicate predicate4 = cb.lessThan(root.<Date>get("qdrq"), ContextUtil.getNextZero(param.getEnd())); + Predicate predicate4 = cb.lessThan(root.<Date>get("zhgxsj"), ContextUtil.getNextZero(param.getEnd())); predicates.add(predicate4); } return cb.and(predicates.toArray(new Predicate[0])); @@ -172,9 +172,6 @@ ApiRemoteService apiRemoteService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); if (null == apiRemoteService) return "绯荤粺娌℃湁褰撳墠鎺ㄩ�佸崗璁厤缃紝鎵ц澶辫触"; - if (PushProtocol.SB_SH_2023.getCode().equals(apiConf.getPushProtocol())){ - return pushDataList(items,apiRemoteService,apiConf); - } return pushDataSingle(items,apiRemoteService,apiConf); } -- Gitblit v1.9.3