|
@@ -152,11 +152,18 @@ public class LaserService {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- public void move(String num, String snCode, String toSnCode) {
|
|
|
|
|
|
+ public void move(String num, String snCode, String toSnCode,Long userId) {
|
|
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);
|
|
|
|
+ if(userId != null){
|
|
|
|
+ User user = userService.getById(userId);
|
|
|
|
+ if(user != null){
|
|
|
|
+ param.setPhone(user.getUserName());
|
|
|
|
+ }
|
|
|
|
+ }
|
|
laserClient.migrate(param);
|
|
laserClient.migrate(param);
|
|
}
|
|
}
|
|
|
|
|