From 3a7fd31b5beadda5b3c12450935db9913a52bd92 Mon Sep 17 00:00:00 2001 From: CZT <czt18638530771@163.com> Date: 星期六, 02 三月 2024 11:25:36 +0800 Subject: [PATCH] 有数数据同步及推送 --- src/main/java/com/fzzy/push/nx2023/NX2023PushService11.java | 31 ++----------------------------- 1 files changed, 2 insertions(+), 29 deletions(-) diff --git a/src/main/java/com/fzzy/push/nx2023/NX2023PushService11.java b/src/main/java/com/fzzy/push/nx2023/NX2023PushService11.java index a70224b..419d236 100644 --- a/src/main/java/com/fzzy/push/nx2023/NX2023PushService11.java +++ b/src/main/java/com/fzzy/push/nx2023/NX2023PushService11.java @@ -41,8 +41,7 @@ private Api1107Rep api1107Rep; @Autowired private Api1108Rep api1108Rep; - @Autowired - private Api1109Rep api1109Rep; + @Autowired private Api1110Rep api1110Rep; @Autowired @@ -82,8 +81,7 @@ this.pushData1107(apiRemoteService, param); //鑽墏淇℃伅 this.pushData1108(apiRemoteService, param); - //鏂囦欢淇℃伅 - this.pushData1109(apiRemoteService, param); + //搴撳尯鍥句粨鎴跨偣浣嶆爣娉� this.pushData1110(apiRemoteService, param); //搴撳尯鍥捐棰戠洃鎺ц澶囩偣浣嶆爣娉� @@ -313,32 +311,7 @@ } } - /** - * 1109 鏂囦欢淇℃伅 - */ - public void pushData1109(ApiRemoteService apiRemoteService, ApiParam param) { - //鑾峰彇鏂囦欢淇℃伅 - List<Api1109> list = api1109Rep.findPushDataByTime(param.getKqdm(), param.getStart(), param.getEnd()); - if (null == list || list.isEmpty()) { - log.error("-----瀹佸鐪佸钩鍙�2023鐗堬細鏈幏鍙栧埌鏂囦欢淇℃伅锛屼笉鎺ㄩ��-----"); - return; - } - param.setInteCategory(Constant.API_CATEGORY_11); - param.setInteId(NX2023Constant.NX_2023_API_CODE_1109); - - ResponseDto responseDto; - for (Api1109 data : list) { - param.setBizId(data.getBizId()); - responseDto = apiRemoteService.pushData(param, data); - if (responseDto.getSuccess() == 0) { - if (Constant.CZBZ_I.equals(data.getCzbz())) { - api1109Rep.updateStatus(data.getId(), Constant.CZBZ_U); - } - } - } - - } /** * 1110 搴撳尯鍥句粨鎴跨偣浣嶆爣娉� -- Gitblit v1.9.3