|
@@ -5,10 +5,12 @@ import com.alibaba.fastjson2.JSONArray;
|
|
|
import com.alibaba.fastjson2.JSONObject;
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
|
|
import com.hfln.portal.common.constant.mqtt.topic.TopicConstants;
|
|
|
-import com.hfln.portal.domain.customer.util.DevPosFixUtil;
|
|
|
import com.hfln.portal.domain.customer.util.MsgClient;
|
|
|
import com.hfln.portal.domain.customer.util.WxOfficeAccountClient;
|
|
|
-import com.hfln.portal.infrastructure.po.*;
|
|
|
+import com.hfln.portal.infrastructure.po.DevInfo;
|
|
|
+import com.hfln.portal.infrastructure.po.EventList;
|
|
|
+import com.hfln.portal.infrastructure.po.UserInfo;
|
|
|
+import com.hfln.portal.infrastructure.po.WxRelation;
|
|
|
import com.hfln.portal.infrastructure.service.*;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
@@ -171,7 +173,7 @@ public class MqttSubHandle {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // target_points数据入库
|
|
|
+/* // target_points数据入库
|
|
|
DevTarget target = new DevTarget();
|
|
|
target.setDevId(dev.getDevId());
|
|
|
target.setPose(pose);
|
|
@@ -183,7 +185,7 @@ public class MqttSubHandle {
|
|
|
}
|
|
|
target.setTargetPoints(targetPointsStr);
|
|
|
target.setEvent(messageType);
|
|
|
- devTargetService.save(target);
|
|
|
+ devTargetService.save(target);*/
|
|
|
|
|
|
DevInfo devInfo = new DevInfo();
|
|
|
devInfo.setTargetPoints(targetPointsStr);
|
|
@@ -354,7 +356,7 @@ public class MqttSubHandle {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // target_points数据入库
|
|
|
+/* // target_points数据入库
|
|
|
DevTarget target = new DevTarget();
|
|
|
target.setDevId(dev.getDevId());
|
|
|
target.setPose(pose);
|
|
@@ -366,7 +368,7 @@ public class MqttSubHandle {
|
|
|
}
|
|
|
target.setTargetPoints(targetPointsStr);
|
|
|
target.setEvent(messageType);
|
|
|
- devTargetService.save(target);
|
|
|
+ devTargetService.save(target);*/
|
|
|
|
|
|
DevInfo devInfo = new DevInfo();
|
|
|
devInfo.setTargetPoints(targetPointsStr);
|