From 70ef4eb09cc6832c60597a94faa84f51066ff5e6 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Mon, 20 Oct 2025 13:18:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(mapper):=20=E6=9B=B4=E6=96=B0=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E9=80=9A=E7=9F=A5=E6=8E=88=E6=9D=83=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将XML中的小于等于符号从<=更正为<= - 确保SQL语句在XML文件中正确转义 - 避免因特殊字符导致的解析错误 --- .../resources/mapper/UserNotificationAuthorizationMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/mapper/UserNotificationAuthorizationMapper.xml b/src/main/resources/mapper/UserNotificationAuthorizationMapper.xml index 26baf1d9..fdb48af3 100644 --- a/src/main/resources/mapper/UserNotificationAuthorizationMapper.xml +++ b/src/main/resources/mapper/UserNotificationAuthorizationMapper.xml @@ -85,7 +85,7 @@ update_time = NOW() WHERE id = #{id} AND status = 1 - AND consumed_count + #{count} <= authorization_count + AND consumed_count + #{count} <= authorization_count