cc 3 mesi fa
parent
commit
8c4a2117f8

+ 2 - 2
src/main/resources/mappers/trans/TransContinuousMapper.xml

@@ -21,7 +21,7 @@
         personName,
         personCardNo,
         COALESCE(otherName, '未知对手') AS otherName,
-        COALESCE(otherCardNo, '未知对手卡号') AS otherCardNo,
+        COALESCE(otherCardNo, '未知卡号') AS otherCardNo,
         DATE_TRUNC('month', transDate) AS trans_month,
         transAmount
         FROM ${query.tableName}
@@ -44,7 +44,7 @@
             </if>
             <if test="query.otherCardNo != null and query.otherCardNo != ''">
                 <choose>
-                    <when test="query.otherCardNo == '未知对手卡号'">
+                    <when test="query.otherCardNo == '未知卡号'">
                         AND otherCardNo IS NULL
                     </when>
                     <otherwise>

+ 2 - 2
src/main/resources/mappers/trans/TransFrequencyMapper.xml

@@ -15,7 +15,7 @@
         SELECT
         personName,
         COALESCE(otherName, '未知对手') as otherName,
-        COALESCE(otherCardNo, '未知对手卡号') as otherCardNo,
+        COALESCE(otherCardNo, '未知卡号') as otherCardNo,
         MIN(transDate) as startTransDate,
         MAX(transDate) as endTransDate,
         COUNT(*) AS transCount ,
@@ -40,7 +40,7 @@
             </if>
             <if test="query.otherCardNo != null and query.otherCardNo != ''">
                 <choose>
-                    <when test="query.otherCardNo == '未知对手卡号'">
+                    <when test="query.otherCardNo == '未知卡号'">
                         AND otherCardNo IS NULL
                     </when>
                     <otherwise>