|  |  |  | 
|---|
|  |  |  | return "系统没有当前推送协议配置,执行失败"; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //根据省份协议,判断是集合形式上报还是单条json上报 | 
|---|
|  |  |  | if(PushProtocol.SB_SH_2023.getCode().equals(apiConf.getPushProtocol())){ | 
|---|
|  |  |  | return  pushDataList(items, apiRemoteService, apiConf); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return  pushDataSingle(items, apiRemoteService, apiConf); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1101); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Api1101 d; | 
|---|
|  |  |  | for (ApiParent data : items) { | 
|---|
|  |  |  | for (Api1101 data : items) { | 
|---|
|  |  |  | d = new Api1101(); | 
|---|
|  |  |  | BeanUtils.copyProperties(data, d); | 
|---|
|  |  |  | param.setBizId(data.getBizId()); | 
|---|
|  |  |  | 
|---|
|  |  |  | result += responseDto.toString(); | 
|---|
|  |  |  | if (responseDto.getSuccess() == 0) { | 
|---|
|  |  |  | if (Constant.CZBZ_I.equals(d.getCzbz())) { | 
|---|
|  |  |  | api1101Rep.updateStatus(data.getKqdm(), Constant.CZBZ_U); | 
|---|
|  |  |  | api1101Rep.updateStatus(data.getDwdm(), Constant.CZBZ_U); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | for (Api1101 data : items) { | 
|---|
|  |  |  | if (Constant.CZBZ_I.equals(data.getCzbz())) { | 
|---|
|  |  |  | //更新状态 | 
|---|
|  |  |  | api1101Rep.updateStatus(data.getKqdm(), Constant.CZBZ_U); | 
|---|
|  |  |  | api1101Rep.updateStatus(data.getDwdm(), Constant.CZBZ_U); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|