私域引流分店报错修复
This commit is contained in:
@@ -28,7 +28,7 @@ public class MkDrainageConfigServiceImpl extends ServiceImpl<MkDrainageConfigMap
|
||||
@Override
|
||||
public MkDrainageConfigVO detail(Long 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) {
|
||||
config = new MkDrainageConfig();
|
||||
config.setMainShopId(mainShopId);
|
||||
|
||||
Reference in New Issue
Block a user