From e50fa16b6dbc4e7c50d5fbdbc04d2a556ca01c4e Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期一, 02 十二月 2024 11:26:36 +0800
Subject: [PATCH] 补片流程卡调整

---
 north-glass-erp/src/main/resources/mapper/userInfo/User.xml |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/userInfo/User.xml b/north-glass-erp/src/main/resources/mapper/userInfo/User.xml
index 1120d54..a593cf5 100644
--- a/north-glass-erp/src/main/resources/mapper/userInfo/User.xml
+++ b/north-glass-erp/src/main/resources/mapper/userInfo/User.xml
@@ -41,6 +41,12 @@
         where login_name=#{LoginName}
     </select>
 
+    <select id="findOnePassWord" >
+        SELECT *
+        FROM erp_user_info.user
+        where id=#{id} and password=#{passWord}
+    </select>
+
     <insert id="register"  useGeneratedKeys="true" keyProperty="id">
         insert erp_user_info.user
             (password,user_name)
@@ -66,4 +72,16 @@
         set state =0
         where id = #{id}
     </update>
+
+    <update id="updatePassWordById">
+        update erp_user_info.user
+        set password=#{passWord},update_time=now()
+        where id=#{id}
+    </update>
+
+    <update id="updateUserNameById">
+        update erp_user_info.user
+        set user_name=#{userName},update_time=now()
+        where id=#{id}
+    </update>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0