Browse Source

发送激光场景信息

dsx 1 year ago
parent
commit
04732060dc

+ 3 - 3
src/main/java/com/fdkankan/contro/service/impl/IFdkkLaserServiceImpl.java

@@ -62,8 +62,8 @@ public class IFdkkLaserServiceImpl implements IFdkkLaserService {
         params.put("sceneCode", sceneCode);
         params.put("sceneCode", sceneCode);
         params.put("status", sceneStatus);
         params.put("status", sceneStatus);
         params.put("version",getSceneVersion(sceneCode));
         params.put("version",getSceneVersion(sceneCode));
-        params.put("createTime", DateUtil.date2String(createTime, null));
-        params.put("algorithmTime", DateUtil.date2String(algorithmTime, null));
+        params.put("createTime", createTime);
+        params.put("algorithmTime", algorithmTime);
         if (!ObjectUtils.isEmpty(path)) {
         if (!ObjectUtils.isEmpty(path)) {
             params.put("path", path);
             params.put("path", path);
         }
         }
@@ -117,7 +117,7 @@ public class IFdkkLaserServiceImpl implements IFdkkLaserService {
     public void saveScene(ScenePlus scenePlus, JSONObject fdageJson, Camera cameraEntity, String phone, boolean rebuild) {
     public void saveScene(ScenePlus scenePlus, JSONObject fdageJson, Camera cameraEntity, String phone, boolean rebuild) {
         Map<String, Object> params = new HashMap<>();
         Map<String, Object> params = new HashMap<>();
         params.put("childName", cameraEntity.getChildName());
         params.put("childName", cameraEntity.getChildName());
-        params.put("createTime", DateUtil.date2String(scenePlus.getCreateTime(), null));
+        params.put("createTime", scenePlus.getCreateTime());
         params.put("phone", phone);
         params.put("phone", phone);
         params.put("sceneCode", scenePlus.getNum());
         params.put("sceneCode", scenePlus.getNum());
         params.put("snCode", cameraEntity.getSnCode());
         params.put("snCode", cameraEntity.getSnCode());