From fd5c29bd2300f36041862309dc016aa9d5c880b5 Mon Sep 17 00:00:00 2001 From: sunyuchao Date: Thu, 10 Nov 2022 10:52:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A7=93=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/IcTripReportRecordDao.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epmet-user/epmet-user-server/src/main/resources/mapper/IcTripReportRecordDao.xml b/epmet-user/epmet-user-server/src/main/resources/mapper/IcTripReportRecordDao.xml index eaf72e3c95..0a5b35e2f5 100644 --- a/epmet-user/epmet-user-server/src/main/resources/mapper/IcTripReportRecordDao.xml +++ b/epmet-user/epmet-user-server/src/main/resources/mapper/IcTripReportRecordDao.xml @@ -10,7 +10,7 @@ r.CREATED_TIME AS reportTime, ( CASE - WHEN r.USER_TYPE = 'resi' THEN IFNULL(ubi.`NAME`, '无') + WHEN r.USER_TYPE = 'resi' THEN IFNULL(ubi.REAL_NAME, '无') ELSE IFNULL(cs.REAL_NAME, '无') END ) AS createdByName @@ -40,7 +40,7 @@ r.MOBILE as realMobile, ( CASE - WHEN r.USER_TYPE = 'resi' THEN IFNULL(ubi.`NAME`, '无') + WHEN r.USER_TYPE = 'resi' THEN IFNULL(ubi.REAL_NAME, '无') ELSE IFNULL(cs.REAL_NAME, '无') END ) AS createdByName