From 5ce74aa073f8f31e3c9d078bbd747609d6a5c038 Mon Sep 17 00:00:00 2001
From: wuzeyu <1223318623@qq.com>
Date: 星期四, 30 五月 2024 08:42:42 +0800
Subject: [PATCH] 修改单点登录模块的一些代码问题 1.全局userId变id
---
pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeClientMapper.xml | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeClientMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeClientMapper.xml
index 5d33225..7adaf21 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeClientMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeClientMapper.xml
@@ -28,7 +28,7 @@
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
- id, countyId, townId, villageId, blockId, divideId, `name`, virtualId, clientNum,
+ id, countyId, townId, villageId, blockid, divideId, `name`, virtualId, clientNum,
districtNum, districtTitle, phone, idCard, area, typeId, address, remarks, `operator`,
operateDt, disabled, deleted
</sql>
@@ -56,7 +56,7 @@
operateDt, disabled, deleted
)
values (#{id,jdbcType=BIGINT}, #{countyid,jdbcType=BIGINT}, #{townid,jdbcType=BIGINT},
- #{villageid,jdbcType=BIGINT}, #{blockid,jdbcType=BIGINT}, #{divideid,jdbcType=BIGINT},
+ #{villageid,jdbcType=BIGINT}, #{blockid,jdbcType=BIGINT}, #{divideid,jdbcType=BIGINT},
#{name,jdbcType=VARCHAR}, #{virtualid,jdbcType=BIGINT}, #{clientnum,jdbcType=VARCHAR},
#{districtnum,jdbcType=BIGINT}, #{districttitle,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR},
#{idcard,jdbcType=VARCHAR}, #{area,jdbcType=DOUBLE}, #{typeid,jdbcType=BIGINT},
@@ -406,6 +406,11 @@
SELECT id FROM se_client WHERE clientNum = ${clientNum}
</select>
+ <!--鏍规嵁鐢佃瘽鍙风爜鑾峰彇鍐滄埛ID-->
+ <select id="getClientIdByPhone" resultType="java.lang.Long">
+ SELECT id FROM se_client WHERE phone = #{phoneNumber}
+ </select>
+
<!--鏍规嵁鍐滄埛ID閫昏緫鍒犻櫎鍐滄埛-->
<update id="deleteClientById" parameterType="java.lang.Long">
update se_client set deleted = 1
--
Gitblit v1.8.0