Commit 5a66a563 authored by 唐峰's avatar 唐峰

微信信息查询,指标修正

parent 0b9845b4
......@@ -93,7 +93,7 @@ public interface IWeChatUserRepository extends JpaRepository<WechatUserInfo, Lon
*/
@Transactional(rollbackFor = Exception.class)
@Modifying
@Query(value = "update wechat_userinfo set union_id=?3 where user_id=?1 and app_name=?2 and app_id=?3 and tenant_id=?4", nativeQuery = true)
@Query(value = "update wechat_userinfo set union_id=?3 where user_id=?1 and app_name=?2 and app_id=?4 and tenant_id=?5", nativeQuery = true)
int updateUserUnionId(Long userId, String appName, String unionId, String appId, Integer tenantId);
@Transactional
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment