|
@@ -62,9 +62,9 @@ public class FdUserCameraController extends BaseController {
|
|
|
if(ObjectUtils.isEmpty(cameraDetailEntity)){
|
|
|
throw new BusinessException(CameraConstant.FAILURE_CODE_6020,CameraConstant.FAILURE_MSG_6020);
|
|
|
}
|
|
|
-// if (ObjectUtils.isEmpty(cameraDetailEntity.getCompanyId())) {
|
|
|
-// throw new BusinessException(CameraConstant.FAILURE_CODE_6005, CameraConstant.FAILURE_MSG_6005);
|
|
|
-// }
|
|
|
+ if (ObjectUtils.isEmpty(cameraDetailEntity.getCompanyId()) || cameraDetailEntity.getCompanyId() != 25L) {
|
|
|
+ throw new BusinessException(CameraConstant.FAILURE_CODE_6005, CameraConstant.FAILURE_MSG_6005);
|
|
|
+ }
|
|
|
|
|
|
if(cameraDetailEntity.getUserId() != null){
|
|
|
throw new BusinessException(AppConstant.FAILURE_CODE_4011, AppConstant.FAILURE_MSG_4011);
|