fix(mapper): 更新用户通知授权检查逻辑

- 将XML中的小于等于符号从<=更正为&lt;=
- 确保SQL语句在XML文件中正确转义
- 避免因特殊字符导致的解析错误
This commit is contained in:
2025-10-20 13:18:45 +08:00
parent 58224a03c5
commit 70ef4eb09c

View File

@@ -85,7 +85,7 @@
update_time = NOW()
WHERE id = #{id}
AND status = 1
AND consumed_count + #{count} <= authorization_count
AND consumed_count + #{count} &lt;= authorization_count
</update>
<!-- 检查用户是否还有剩余授权次数 -->