| | |
| | | private Api1107Rep api1107Rep; |
| | | @Autowired |
| | | private Api1108Rep api1108Rep; |
| | | @Autowired |
| | | private Api1109Rep api1109Rep; |
| | | |
| | | @Autowired |
| | | private Api1110Rep api1110Rep; |
| | | @Autowired |
| | |
| | | this.pushData1107(apiRemoteService, param); |
| | | //药剂信息 |
| | | this.pushData1108(apiRemoteService, param); |
| | | //文件信息 |
| | | this.pushData1109(apiRemoteService, param); |
| | | |
| | | //库区图仓房点位标注 |
| | | this.pushData1110(apiRemoteService, param); |
| | | //库区图视频监控设备点位标注 |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 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 库区图仓房点位标注 |