| | |
| | | WhjlApi1101 whjlApi1101; |
| | | for (ApiInfoData infoData : result) { |
| | | whjlApi1101 = JSONObject.parseObject(infoData.getData().toString(), WhjlApi1101.class); |
| | | whjlApi1101.setKqdm(infoData.getKqdm()); |
| | | whjlApi1101.setCzbz(infoData.getCzbz()); |
| | | whjlApi1101.setUpdateTime(infoData.getUpdateTime()); |
| | | whjlApi1101.setBizId(infoData.getDataId()); |
| | | list.add(whjlApi1101); |
| | | } |
| | | return list; |
| | |
| | | infoData.setUpdateTime(new Date()); |
| | | infoData.setDataId(data.getBizId()); |
| | | infoData.setData(JSON.toJSONString(data)); |
| | | infoData.setCzbz(data.getCzbz()); |
| | | infoData.setRemarks("备注信息"); |
| | | |
| | | apiInfoDataRep.save(infoData); |
| | |
| | | infoData.setInteId(WhjlConstant.API_CODE_1101); |
| | | infoData.setUpdateTime(new Date()); |
| | | infoData.setDataId(data.getBizId()); |
| | | infoData.setRemarks("备注信息"); |
| | | |
| | | data.setCzbz(Constant.CZBZ_U); |
| | | infoData.setCzbz(Constant.CZBZ_U); |