私域引流分店报错修复
This commit is contained in:
parent
c2260304e5
commit
2c787269be
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue