From 252e5230703e4355d25274d21b84f2d060907416 Mon Sep 17 00:00:00 2001
From: liusuyi <13324259@qq.com>
Date: 星期五, 14 七月 2023 21:49:39 +0800
Subject: [PATCH] 提交拉流取流查询接口

---
 ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
index 4ea4c7a..a15bc0b 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -90,7 +90,7 @@
         u
         left join sys_dept d on u.dept_id = d.dept_id
         where u.del_flag = '0'
-        <if test="userId != null and userId != 0">
+        <if test="userId != null and userId != ''">
             AND u.user_id = #{userId}
         </if>
         <if test="userName != null and userName != ''">
@@ -185,7 +185,7 @@
 
     <insert id="insertUser" parameterType="SysUser" useGeneratedKeys="true" keyProperty="userId">
         insert into sys_user(
-        <if test="userId != null and userId != 0">user_id,</if>
+        <if test="userId != null and userId != ''">user_id,</if>
         <if test="deptId != null and deptId != 0">dept_id,</if>
         <if test="userName != null and userName != ''">user_name,</if>
         <if test="nickName != null and nickName != ''">nick_name,</if>

--
Gitblit v1.9.3