Commit 3dd7e92d authored by 技术部-任文超's avatar 技术部-任文超

改正sql

parent 8952b405
...@@ -29,7 +29,7 @@ public interface IWeChatUserRepository extends JpaRepository<WechatUserInfo, Lon ...@@ -29,7 +29,7 @@ public interface IWeChatUserRepository extends JpaRepository<WechatUserInfo, Lon
*/ */
@Transactional @Transactional
@Modifying @Modifying
@Query(value = "update wechat_userinfo set user_id=null,phone_no='*' where user_id=?2", nativeQuery = true) @Query(value = "update wechat_userinfo set user_id=null,phone_no='*' where user_id=?1", nativeQuery = true)
int dissociateByUserId(Long userId); int dissociateByUserId(Long userId);
/** /**
......
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