|
@@ -30,7 +30,7 @@ public class SimpleContext {
|
|
|
String deviceId = map_data.get("device_id").toString();
|
|
|
String productId = map_data.get("product_code").toString().toLowerCase();
|
|
|
Long timestamp = Long.valueOf(map_data.get("timestamp").toString());
|
|
|
- String tableName = productId+'_'+deviceId;
|
|
|
+ String tableName = deviceId;
|
|
|
|
|
|
Object tg = JSONObject.toJSONString(map_data.get("tags"));
|
|
|
JSONObject tag = JSON.parseObject(tg.toString());
|