分销后台相关接口 现金充值 记录明细
This commit is contained in:
parent
c943a77a27
commit
de7236f624
|
|
@ -61,7 +61,7 @@ public class MkDistributionConfigServiceImpl extends ServiceImpl<MkDistributionC
|
||||||
Long mainIdByShopId = shopInfoService.getMainIdByShopId(shopId);
|
Long mainIdByShopId = shopInfoService.getMainIdByShopId(shopId);
|
||||||
MkDistributionConfig config = getOne(new QueryWrapper().eq(MkDistributionConfig::getShopId, shopId));
|
MkDistributionConfig config = getOne(new QueryWrapper().eq(MkDistributionConfig::getShopId, shopId));
|
||||||
if (config == null) {
|
if (config == null) {
|
||||||
config = new MkDistributionConfig().setMainShopId(shopId).setMainShopId(mainIdByShopId);
|
config = new MkDistributionConfig().setShopId(shopId).setMainShopId(mainIdByShopId);
|
||||||
save(config);
|
save(config);
|
||||||
config = getOne(new QueryWrapper().eq(MkDistributionConfig::getShopId, shopId));
|
config = getOne(new QueryWrapper().eq(MkDistributionConfig::getShopId, shopId));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue