You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<delete id="deleteExpired">
DELETE FROM sys_user_password_history t1
WHERE t1.id NOT IN (
SELECT id
FROM (
SELECT id
FROM sys_user_password_history
WHERE user_id = #{userId}
ORDER BY create_time DESC
LIMIT #{count}
) AS recent
);
</delete>
复现步骤
嘗試創建一個新用戶
然後修改密碼
预期结果
no error
环境信息
ContiNew Admin version(s):dev
额外补充
No response
The text was updated successfully, but these errors were encountered:
请您确认
Bug 描述
UserPasswordHistoryMapper.xml 中的sql 語法不兼容postgre.
應當考慮使用通用的sql語句:
复现步骤
嘗試創建一個新用戶
然後修改密碼
预期结果
no error
环境信息
额外补充
No response
The text was updated successfully, but these errors were encountered: