私域引流分店报错修复
This commit is contained in:
@@ -28,7 +28,7 @@ public class MkDrainageConfigServiceImpl extends ServiceImpl<MkDrainageConfigMap
|
|||||||
@Override
|
@Override
|
||||||
public MkDrainageConfigVO detail(Long shopId) {
|
public MkDrainageConfigVO detail(Long shopId) {
|
||||||
Long mainShopId = shopInfoService.getMainIdByShopId(shopId);
|
Long mainShopId = shopInfoService.getMainIdByShopId(shopId);
|
||||||
MkDrainageConfig config = getOne(new QueryWrapper().eq(MkDrainageConfig::getMainShopId, shopId));
|
MkDrainageConfig config = getOne(new QueryWrapper().eq(MkDrainageConfig::getShopId, shopId));
|
||||||
if (config == null) {
|
if (config == null) {
|
||||||
config = new MkDrainageConfig();
|
config = new MkDrainageConfig();
|
||||||
config.setMainShopId(mainShopId);
|
config.setMainShopId(mainShopId);
|
||||||
|
|||||||
Reference in New Issue
Block a user