From 939ccc9c254870ed15cdd485b9d303bbb00a23f2 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期日, 28 九月 2025 14:16:27 +0800
Subject: [PATCH] 注释加上上海玻璃公司ip
---
north-glass-erp/src/main/resources/mapper/userInfo/User.xml | 27 +++++++++++++++++++++++++++
1 files changed, 27 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 a593cf5..6629db6 100644
--- a/north-glass-erp/src/main/resources/mapper/userInfo/User.xml
+++ b/north-glass-erp/src/main/resources/mapper/userInfo/User.xml
@@ -7,6 +7,7 @@
<id property="id" column="id"/>
<result property="loginName" column="login_name"/>
<result property="userName" column="user_name"/>
+ <result property="address" column="address"/>
<result property="createTime" column="create_time"/>
<collection property="userRoleList" ofType="com.example.erp.entity.userInfo.UserRole">
@@ -27,6 +28,20 @@
left join role as c
on b.role_id = c.id
where state =1 and a.id != 1
+ </select>
+ <select id="findByAddress" resultMap="findAllMap">
+ SELECT a.*,
+ b.role_id,
+ c.role
+ FROM erp_user_info.user as a
+ left join user_role as b
+ on a.id = b.user_id
+ left join role as c
+ on b.role_id = c.id
+ where state =1 and a.id != 1 and address is not null and address !=''
+ <if test="userName != null and userName != '' and userName != 'null'">
+ and user_name like concat('%',#{userName},'%')
+ </if>
</select>
<select id="findOne" >
@@ -84,4 +99,16 @@
set user_name=#{userName},update_time=now()
where id=#{id}
</update>
+ <update id="updateProcessMp">
+ update erp_user_info.user
+ set address=#{process},update_time=now()
+ where id=#{id}
+ </update>
+
+
+ <select id="selectOptimizeParmsById" resultType="String">
+ SELECT optimize_parms FROM erp_user_info.user WHERE user_name = #{username}
+ </select>
+
+
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0