|
@@ -232,7 +232,11 @@ public class IFdkkLaserServiceImpl implements IFdkkLaserService {
|
|
|
params.put("payStatus", scenePlus.getPayStatus());
|
|
|
params.put("shootCount", scenePlusExt.getShootCount());
|
|
|
params.put("path", path);
|
|
|
- params.put("algorithmTime", DateUtil.date2String(scenePlusExt.getAlgorithmTime(), null));
|
|
|
+ Date algorithmTime = new Date();
|
|
|
+ if(Objects.nonNull(scenePlusExt.getAlgorithmTime())){
|
|
|
+ algorithmTime = scenePlusExt.getAlgorithmTime();
|
|
|
+ }
|
|
|
+ params.put("algorithmTime", DateUtil.date2String(algorithmTime, null));
|
|
|
if(scenePlus.getSceneStatus() == SceneStatus.wait.code()){
|
|
|
rabbitMqProducer.sendByWorkQueue("laser-e57-init-scene", params);
|
|
|
}
|