|
@@ -133,7 +133,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
if(!oldCameraDetail.getType().equals(cameraDetail.getType())){
|
|
if(!oldCameraDetail.getType().equals(cameraDetail.getType())){
|
|
throw new BusinessException(ResultCode.CAMERA_TYPE_NOT_ERROR);
|
|
throw new BusinessException(ResultCode.CAMERA_TYPE_NOT_ERROR);
|
|
}
|
|
}
|
|
- if(!cameraDetail.getAgentId().equals(oldCameraDetail.getAgentId()) ){
|
|
|
|
|
|
+ if(!oldCameraDetail.getAgentId().equals(cameraDetail.getAgentId()) ){
|
|
throw new BusinessException(ResultCode.CAMERA_SN_ERROR);
|
|
throw new BusinessException(ResultCode.CAMERA_SN_ERROR);
|
|
}
|
|
}
|
|
|
|
|