Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user