|
@@ -1,4 +1,5 @@
|
|
package com.fdkankan.manage_jp.httpClient.service;
|
|
package com.fdkankan.manage_jp.httpClient.service;
|
|
|
|
+import cn.hutool.core.bean.BeanUtil;
|
|
import com.fdkankan.common.util.FileUtils;
|
|
import com.fdkankan.common.util.FileUtils;
|
|
import com.fdkankan.fyun.face.FYunFileServiceInterface;
|
|
import com.fdkankan.fyun.face.FYunFileServiceInterface;
|
|
import com.fdkankan.manage_jp.httpClient.param.LaserSceneMoveParam;
|
|
import com.fdkankan.manage_jp.httpClient.param.LaserSceneMoveParam;
|
|
@@ -318,10 +319,10 @@ public class LaserService {
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
|
|
|
|
- public FdkkResponse move(String num, String snCode, String toSnCode, Long userId, String newDataSource) {
|
|
|
|
|
|
+ public void move(String num, String snCode, String toSnCode, Long userId, String newDataSource) {
|
|
LaserSceneMoveParam param = new LaserSceneMoveParam();
|
|
LaserSceneMoveParam param = new LaserSceneMoveParam();
|
|
param.setSceneCode(num);
|
|
param.setSceneCode(num);
|
|
- param.setSnCode(snCode);
|
|
|
|
|
|
+ //param.setSnCode(snCode);
|
|
param.setToSnCode(toSnCode);
|
|
param.setToSnCode(toSnCode);
|
|
param.setUserId(userId);
|
|
param.setUserId(userId);
|
|
param.setDataSource(newDataSource+"_laserData/laserData");
|
|
param.setDataSource(newDataSource+"_laserData/laserData");
|
|
@@ -331,7 +332,10 @@ public class LaserService {
|
|
param.setPhone(user.getUserName());
|
|
param.setPhone(user.getUserName());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- return laserClient.migrate(param);
|
|
|
|
|
|
+ Map<String, Object> map = BeanUtil.beanToMap(param);
|
|
|
|
+ rabbitMqProducer.sendByWorkQueue("laser-migrate-scene",map);
|
|
|
|
+
|
|
|
|
+ //return laserClient.migrate(param);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|