充值兑换码相关接口

This commit is contained in:
张松 2025-10-21 16:35:17 +08:00
parent 4968f5ce6d
commit 0051c6e24e
1 changed files with 2 additions and 0 deletions

View File

@ -55,9 +55,11 @@ public class MkEnableConfigServiceImpl extends ServiceImpl<MkEnableConfigMapper,
one.setIsEnable(dto.getIsEnable());
}
if ("part".equals(dto.getUseType()) && dto.getShopIdList() != null) {
one.setShopIdList(JSONObject.toJSONString(dto.getShopIdList()));
}
one.setUseType(dto.getUseType());
return updateById(one);
}
}