|
@@ -48,7 +48,7 @@ public class UserPlatformServiceImpl extends ServiceImpl<IUserPlatformMapper, Us
|
|
|
}
|
|
|
|
|
|
private void delByPlatformIds(Long userId,List<Integer> delIds) {
|
|
|
- if(!delIds.isEmpty()){
|
|
|
+ if(delIds.isEmpty()){
|
|
|
return;
|
|
|
}
|
|
|
LambdaQueryWrapper<UserPlatform> wrapper = new LambdaQueryWrapper<>();
|
|
@@ -58,7 +58,7 @@ public class UserPlatformServiceImpl extends ServiceImpl<IUserPlatformMapper, Us
|
|
|
}
|
|
|
|
|
|
private void saveByPlatformIds(Long userId,List<Integer> addIds) {
|
|
|
- if(!addIds.isEmpty()){
|
|
|
+ if(addIds.isEmpty()){
|
|
|
return;
|
|
|
}
|
|
|
for (Integer addId : addIds) {
|