24282 2 年之前
父节点
当前提交
215845fc84
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml

+ 0 - 3
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml

@@ -215,7 +215,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  			<if test="tenantId != null and tenantId != ''">tenant_id,</if>
  			<if test="userType != null and userType != ''">user_type,</if>
  			<if test="jobNumber != null and jobNumber != ''">job_number,</if>
-		    <if test="userType != null and userType != ''">user_type,</if>
  			create_time
  		)values(
  			<if test="userId != null and userId != ''">#{userId},</if>
@@ -233,7 +232,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  			<if test="tenantId != null and tenantId != ''">#{tenantId},</if>
  			<if test="userType != null and userType != ''">#{userType},</if>
  			<if test="jobNumber != null and jobNumber != ''">#{jobNumber},</if>
-		<if test="userType != null and userType != ''">#{userType},</if>
  			sysdate()
  		)
 	</insert>
@@ -257,7 +255,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="tenantId != null and tenantId != ''">tenant_id = #{tenantId},</if>
             <if test="userType != null and userType != ''">user_type = #{userType},</if>
             <if test="jobNumber != null and jobNumber != ''">job_number = #{jobNumber},</if>
-			<if test="userType != null and userType != ''">user_type = #{userType},</if>
             update_time = sysdate()
         </set>
         where user_id = #{userId}