分销等级
This commit is contained in:
@@ -25,6 +25,8 @@ public class MkDistributionLevelConfigServiceImpl extends ServiceImpl<MkDistribu
|
|||||||
if (levelConfigList.isEmpty()) {
|
if (levelConfigList.isEmpty()) {
|
||||||
remove(new QueryWrapper().eq(MkDistributionLevelConfig::getDistributionConfigId, id));
|
remove(new QueryWrapper().eq(MkDistributionLevelConfig::getDistributionConfigId, id));
|
||||||
return;
|
return;
|
||||||
|
}else {
|
||||||
|
remove(new QueryWrapper().eq(MkDistributionLevelConfig::getDistributionConfigId, id).notIn(MkDistributionLevelConfig::getId, levelConfigList.stream().map(MkDistributionLevelConfigDTO::getId).toList()));
|
||||||
}
|
}
|
||||||
|
|
||||||
int level = 1;
|
int level = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user