| | |
| | | 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); |
| | | } |
| | | } |
| | | } |