From 94e5611b79ba1440d042eb062fb36b1b9f01a0be Mon Sep 17 00:00:00 2001 From: baizonghao <1719256278@qq.com> Date: 星期四, 30 三月 2023 20:00:15 +0800 Subject: [PATCH] 过期时间 --- ycl-platform/src/main/resources/mapper/caseHandler/PartyInfoMapper.xml | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/ycl-platform/src/main/resources/mapper/caseHandler/PartyInfoMapper.xml b/ycl-platform/src/main/resources/mapper/caseHandler/PartyInfoMapper.xml index 5b2c634..561df96 100644 --- a/ycl-platform/src/main/resources/mapper/caseHandler/PartyInfoMapper.xml +++ b/ycl-platform/src/main/resources/mapper/caseHandler/PartyInfoMapper.xml @@ -19,10 +19,30 @@ <result column="create_user" property="createUser" /> <result column="create_time" property="createTime" /> </resultMap> + <resultMap type="com.ycl.entity.caseHandler.PartyInfo" id="CondMapResultMap" extends="BaseResultMap"> + <result column="certificate_type_text" property="certificateTypeText" /> + <result column="education_degree_text" property="educationDegreeText" /> + <result column="nation_text" property="nationText" /> + </resultMap> <!-- 閫氱敤鏌ヨ缁撴灉鍒� --> <sql id="Base_Column_List"> id, name, phone_code, certificate_type, certificate_code, education_degree, career, work, nation, native_place, live_address, register_address, create_user, create_time </sql> + <select id="selectCondMap" parameterType="map" resultMap="CondMapResultMap"> + SELECT + upi.*, + udd.name certificate_type_text, + udd2.name education_degree_text, + udd3.name nation_text + FROM + ums_party_info upi + 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> + </mapper> -- Gitblit v1.8.0