From 010e56c4b7c590c83517dd0b0a65ba23ee828222 Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期三, 29 十月 2025 17:17:49 +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