私域引流配置
This commit is contained in:
@@ -46,7 +46,7 @@ public class MkDrainageConfigServiceImpl extends ServiceImpl<MkDrainageConfigMap
|
||||
|
||||
@Override
|
||||
public Boolean edit(Long shopId, MkDrainageConfigDTO config) {
|
||||
MkDrainageConfig info = getOne(new QueryWrapper().eq(MkDrainageConfig::getMainShopId, shopId));
|
||||
MkDrainageConfig info = getOne(new QueryWrapper().eq(MkDrainageConfig::getShopId, shopId));
|
||||
BeanUtil.copyProperties(config, info);
|
||||
if (config.getUseType() != null) {
|
||||
info.setUseType(JSONArray.toJSONString(config.getUseType()));
|
||||
|
||||
Reference in New Issue
Block a user