|
@@ -147,10 +147,10 @@ public class CameraDetailServiceImpl extends MPJBaseServiceImpl<ICameraDetailMap
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public void unbindUser(Long userId) {
|
|
|
+ public void unbindUser(Long userId,Long companyUserId) {
|
|
|
LambdaUpdateWrapper<CameraDetail> wrapper = new LambdaUpdateWrapper<>();
|
|
|
wrapper.eq(CameraDetail::getUserId,userId);
|
|
|
- wrapper.set(CameraDetail::getUserId,null);
|
|
|
+ wrapper.set(CameraDetail::getUserId,companyUserId);
|
|
|
this.update(wrapper);
|
|
|
}
|
|
|
}
|