Commit 7df0a875 authored by 李健华's avatar 李健华

去掉事务

parent b1c664c1
......@@ -81,7 +81,6 @@ public interface IWeChatUserRepository extends JpaRepository<WechatUserInfo, Lon
* @param unionId
* @return
*/
@Transactional(propagation = MANDATORY, rollbackFor = Exception.class)
@Modifying
@Query(value = "update wechat_userinfo set union_id=?3 where user_id=?1 and app_name=?2", nativeQuery = true)
int updateUserUnionId(Long userId, String appName, String unionId);
......
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