| | |
| | | |
| | | /** |
| | | * 获取列表信息 |
| | | * WhjlApi1113PR#listData |
| | | * whjlApi1113PR#listData |
| | | * |
| | | * @return |
| | | */ |
| | |
| | | ApiInfoData infoData = new ApiInfoData(); |
| | | infoData.setId(data.getBizId()); |
| | | infoData.setKqdm(data.getKqdm()); |
| | | infoData.setInteType(WhjlConstant.API_CATEGORY_12); |
| | | infoData.setInteType(WhjlConstant.API_CATEGORY_13); |
| | | infoData.setInteId(WhjlConstant.API_CODE_1113); |
| | | infoData.setUpdateTime(new Date()); |
| | | infoData.setDataId(data.getBizId()); |
| | |
| | | } |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1113); |
| | | ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_13, WhjlConstant.API_CODE_1113); |
| | | |
| | | //获取实现接口 |
| | | ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol()); |
| | |
| | | ResponseDto responseDto; |
| | | ApiInfoData infoData; |
| | | for (WhjlApi1113 data : items) { |
| | | responseDto = apiService.pushData(param, apiConf, items); |
| | | responseDto = apiService.pushData(param, apiConf, data); |
| | | if (responseDto.getSuccess() == 0) { |
| | | if (Constant.CZBZ_I.equals(data.getCzbz())) { |
| | | infoData = new ApiInfoData(); |
| | | infoData.setId(data.getBizId()); |
| | | infoData.setKqdm(data.getKqdm()); |
| | | infoData.setInteType(WhjlConstant.API_CATEGORY_12); |
| | | infoData.setInteType(WhjlConstant.API_CATEGORY_13); |
| | | infoData.setInteId(WhjlConstant.API_CODE_1113); |
| | | infoData.setUpdateTime(new Date()); |
| | | infoData.setDataId(data.getBizId()); |