分销等级
This commit is contained in:
parent
11c3b4f178
commit
acd952a8a1
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue