From c9675b38b799d8b1a479928bcee73e53067788f9 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期二, 09 六月 2026 10:28:06 +0800
Subject: [PATCH] feat:联系人管理,基本信息修改
---
cnas-personnel/src/main/resources/mapper/PersonBasicInfoMapper.xml | 22 ++++++----------------
1 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/cnas-personnel/src/main/resources/mapper/PersonBasicInfoMapper.xml b/cnas-personnel/src/main/resources/mapper/PersonBasicInfoMapper.xml
index da32169..46afb94 100644
--- a/cnas-personnel/src/main/resources/mapper/PersonBasicInfoMapper.xml
+++ b/cnas-personnel/src/main/resources/mapper/PersonBasicInfoMapper.xml
@@ -19,28 +19,18 @@
<select id="selectPersonBasecInfoAndUser" resultType="java.util.Map">
select
- u.id userId,
- u.`name` name,
- u.account account,
- DATE_FORMAT(cpbi.group_time, '%Y-%m-%d') groupTime,
+ cpbi.id,
cpbi.native_place nativePlace,
- cpbi.identity_card identityCard,
cpbi.id_address idAddress,
- u.phone telephone,
- cpbi.graduated_institutions1 graduatedInstitutions1,
- cpbi.major1 major1,
- DATE_FORMAT(cpbi.graduation_time1, '%Y-%m-%d') graduationTime1,
- cpbi.official_academic_redentials officialAcademicRedentials,
- cpbi.highest_degree highestDegree,
- cpbi.professional_title professionalTitle
- from user u
- left join cnas_person_basic_info cpbi on cpbi.user_id = u.id
+ cpbi.telephone,
+ cpbi.name
+ from cnas_person_basic_info cpbi
<where>
- FIND_IN_SET(#{departmentId},u.depart_lims_id)
<if test="name != null and name != ''">
- and u.name like concat('%',#{name},'%')
+ and cpbi.name like concat('%',#{name},'%')
</if>
</where>
+ order by cpbi.id desc
</select>
<!-- 瀵煎嚭鏌ヨ浜哄憳淇℃伅 -->
--
Gitblit v1.9.3