| | |
| | | dataAdjust.remove("mac"); |
| | | dataAdjust.remove("DataTime"); |
| | | dataAdjust.remove("ver"); |
| | | result.put("timeUnits", Constants.TRANSITION); |
| | | result.put("value", JSONObject.toJSONString(dataAdjust)); |
| | | //校准后中间小时表insert |
| | | historyHourlyMapper.insertHistoryHourly(result); |
| | | |
| | | HistoryHourly historyHourly = new HistoryHourly(); |
| | | historyHourly.setMac(mac); |
| | | historyHourly.setTime(time); |
| | | historyHourly.setVersion(version); |
| | | historyHourly.setValue(JSONObject.toJSONString(dataAdjust)); |
| | | |
| | | //校准后小时表insert |
| | | historyHourlyMapper.insert(historyHourly); |
| | | } |
| | | } |