From d4f9e73dc6f275a44b45afa13b5af4bf45cae073 Mon Sep 17 00:00:00 2001
From: mg <maokecheng@163.com>
Date: 星期五, 28 十月 2022 11:10:19 +0800
Subject: [PATCH] 用戶表刪除部门Id逻辑修改

---
 ycl-platform/src/main/resources/mapper/caseHandler/PartyInfoMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ycl-platform/src/main/resources/mapper/caseHandler/PartyInfoMapper.xml b/ycl-platform/src/main/resources/mapper/caseHandler/PartyInfoMapper.xml
index ad8472e..561df96 100644
--- a/ycl-platform/src/main/resources/mapper/caseHandler/PartyInfoMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/caseHandler/PartyInfoMapper.xml
@@ -38,9 +38,9 @@
             udd3.name nation_text
         FROM
             ums_party_info upi
-                LEFT JOIN ums_data_dictionary udd on upi.certificate_type = udd.id and udd.type_code = '03'
-                LEFT JOIN ums_data_dictionary udd2 on upi.education_degree = udd2.id and udd2.type_code = '04'
-                LEFT JOIN ums_data_dictionary udd3 on upi.nation = udd3.id and udd3.type_code = '05'
+                LEFT JOIN ums_data_dictionary udd on upi.certificate_type = udd.id
+                LEFT JOIN ums_data_dictionary udd2 on upi.education_degree = udd2.id
+                LEFT JOIN ums_data_dictionary udd3 on upi.nation = udd3.id
         WHERE
             upi.`id` = #{id}
     </select>

--
Gitblit v1.8.0