From 890cdfe40d4df67f864e06aac48cf666a3f0eca5 Mon Sep 17 00:00:00 2001 From: wanghao Date: Fri, 6 Mar 2026 11:36:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BF=A1=E5=88=9B):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20Mapper=20XML=20=E4=B8=AD=20MySQL=20=E7=89=B9=E6=9C=89?= =?UTF-8?q?=E8=AF=AD=E6=B3=95=E4=B8=8E=E8=BE=BE=E6=A2=A6=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E4=B8=8D=E5=85=BC=E5=AE=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - UserDataRecordBmiMapper.xml: DATE() → TRUNC(),LIMIT 1 → FETCH FIRST 1 ROWS ONLY - SysVersionInfoMapper.xml: limit 1 → FETCH FIRST 1 ROWS ONLY - SysUserMapper.xml: limit 1 → FETCH FIRST 1 ROWS ONLY,IFNULL() → NVL(),INSERT IGNORE → INSERT INTO --- .../modules/remote/mapper/xml/UserDataRecordBmiMapper.xml | 6 +++--- .../org/jeecg/modules/system/mapper/xml/SysUserMapper.xml | 6 +++--- .../modules/system/mapper/xml/SysVersionInfoMapper.xml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/jeecg-system/jeecg-system-biz/src/main/java/org/jeecg/modules/remote/mapper/xml/UserDataRecordBmiMapper.xml b/jeecg-system/jeecg-system-biz/src/main/java/org/jeecg/modules/remote/mapper/xml/UserDataRecordBmiMapper.xml index c1fb42e..44f40f9 100644 --- a/jeecg-system/jeecg-system-biz/src/main/java/org/jeecg/modules/remote/mapper/xml/UserDataRecordBmiMapper.xml +++ b/jeecg-system/jeecg-system-biz/src/main/java/org/jeecg/modules/remote/mapper/xml/UserDataRecordBmiMapper.xml @@ -32,7 +32,7 @@ - AND DATE(data_date) = #{dateStr} + AND TRUNC(data_date) = #{dateStr} GROUP BY user_id ) @@ -82,10 +82,10 @@ diff --git a/jeecg-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml b/jeecg-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml index a859327..af9f429 100644 --- a/jeecg-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml +++ b/jeecg-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml @@ -2,7 +2,7 @@ - insert IGNORE into sys_user (id, username, realname, password, salt, avatar, birthday, id_card,person_type, sex, + insert into sys_user (id, username, realname, password, salt, avatar, birthday, id_card,person_type, sex, email, phone, org_code, work_no, post, create_time, update_time, user_identity) values @@ -437,7 +437,7 @@ @@ -1120,7 +1120,7 @@