mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-02-07 01:11:57 +08:00
Compare commits
3 Commits
7dc6871048
...
99347ae1ad
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99347ae1ad | ||
|
|
b304a41194 | ||
|
|
c4578cca3e |
@@ -15,7 +15,7 @@ import com.ruoyi.common.core.utils.StringUtils;
|
||||
*/
|
||||
public class SecurityContextHolder
|
||||
{
|
||||
private static final TransmittableThreadLocal<Map<String, Object>> THREAD_LOCAL = new TransmittableThreadLocal<>();
|
||||
private static final TransmittableThreadLocal<Map<String, Object>> THREAD_LOCAL = TransmittableThreadLocal.withInitial(ConcurrentHashMap::new);
|
||||
|
||||
public static void set(String key, Object value)
|
||||
{
|
||||
|
||||
@@ -180,7 +180,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<update id="updateUser" parameterType="SysUser">
|
||||
update sys_user
|
||||
<set>
|
||||
<if test="deptId != null and deptId != 0">dept_id = #{deptId},</if>
|
||||
<if test="deptId != 0">dept_id = #{deptId},</if>
|
||||
<if test="nickName != null and nickName != ''">nick_name = #{nickName},</if>
|
||||
<if test="email != null ">email = #{email},</if>
|
||||
<if test="phonenumber != null ">phonenumber = #{phonenumber},</if>
|
||||
|
||||
Reference in New Issue
Block a user