Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
commit
2d0d9ba573
|
|
@ -61,7 +61,7 @@ public class MkDistributionConfigServiceImpl extends ServiceImpl<MkDistributionC
|
|||
Long mainIdByShopId = shopInfoService.getMainIdByShopId(shopId);
|
||||
MkDistributionConfig config = getOne(new QueryWrapper().eq(MkDistributionConfig::getShopId, shopId));
|
||||
if (config == null) {
|
||||
config = new MkDistributionConfig().setMainShopId(shopId).setMainShopId(mainIdByShopId);
|
||||
config = new MkDistributionConfig().setShopId(shopId).setMainShopId(mainIdByShopId);
|
||||
save(config);
|
||||
config = getOne(new QueryWrapper().eq(MkDistributionConfig::getShopId, shopId));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue