1.tb_shop_open_id多条数据查询问题

This commit is contained in:
SongZhang 2024-07-11 16:03:45 +08:00
parent 4e388ea951
commit 989bdbad73
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ public class LoginService {
}
// 为商家绑定openid
if (shopOpenIdMapper.countByOpenId(openId) == null) {
if (shopOpenIdMapper.countByOpenId(openId, Integer.valueOf(shopId)) == null) {
TbShopOpenId shopOpenId = new TbShopOpenId();
shopOpenId.setOpenId(openId);
shopOpenId.setCreateTime(DateUtil.date());