|
@@ -48,7 +48,7 @@ public class AppCameraService {
|
|
if(user == null){
|
|
if(user == null){
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3015, LoginConstant.FAILURE_MSG_3015);
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3015, LoginConstant.FAILURE_MSG_3015);
|
|
}
|
|
}
|
|
- List<CameraAppVo> cameraAppVoList = cameraDetailService.getListByUserAndType(user.getId(), cameraType);
|
|
|
|
|
|
+ List<CameraAppVo> cameraAppVoList = cameraDetailService.getListByUserAndType(user.getCompanyId(), cameraType);
|
|
for (CameraAppVo cameraApp : cameraAppVoList) {
|
|
for (CameraAppVo cameraApp : cameraAppVoList) {
|
|
UserIncrement userIncrementEntity = userIncrementService.getByCameraId(cameraApp.getId());
|
|
UserIncrement userIncrementEntity = userIncrementService.getByCameraId(cameraApp.getId());
|
|
if(userIncrementEntity != null){
|
|
if(userIncrementEntity != null){
|