@@ -31,6 +31,7 @@ public enum ResultCode {
SCENE_CONTRACTOR_ERROR(5014, "场景已被协作,无法再次协作"),
CONTRACTOR_USER_ERROR(5015, "承包商不存在"),
RESTORE_ERROR(5016, "还原的相机类型不同"),
+ LASER_ERROR(5017, "激光系统出错"),
;
@@ -148,7 +148,7 @@ public class ScenePlusServiceImpl extends ServiceImpl<IScenePlusMapper, ScenePlu
if(sceneSource == 4 || sceneSource == 5){
Result result = laserService.updateStatus(num, payStatus == 1 ? 2 : 3);
if(result.getCode() != 200){
- throw new BusinessException(ResultCode.SYSTEM_ERROR);
+ throw new BusinessException(ResultCode.LASER_ERROR);
}
@@ -177,7 +177,7 @@ public class TmColdStorageServiceImpl extends ServiceImpl<ITmColdStorageMapper,
String dataSource = scenePro == null ? scenePlusExtService.getByPlusId(scenePlus.getId()).getDataSource() : scenePro.getDataSource();
FdkkResponse response = laserService.move(num, oldCamera.getSnCode(), camera.getSnCode(), user.getId(), dataSource);
if(response.getCode() != 200){