jiangqs
2023-06-26 b4882b114f082e010d4cc3359d78d18095ef3b83
ruoyi-modules/ruoyi-system/src/main/resources/mapper/sys/SysUserMapper.xml
@@ -158,6 +158,7 @@
          <if test="status != null and status != ''">status,</if>
          <if test="createBy != null and createBy != ''">create_by,</if>
          <if test="remark != null and remark != ''">remark,</if>
         <if test="dataScope != null and dataScope != ''">data_scope,</if>
          create_time
       )values(
          <if test="userId != null and userId != ''">#{userId},</if>
@@ -172,6 +173,7 @@
          <if test="status != null and status != ''">#{status},</if>
          <if test="createBy != null and createBy != ''">#{createBy},</if>
          <if test="remark != null and remark != ''">#{remark},</if>
         <if test="dataScope != null and dataScope != ''">#{dataScope},</if>
          sysdate()
       )
   </insert>
@@ -192,6 +194,7 @@
          <if test="loginDate != null">login_date = #{loginDate},</if>
          <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
          <if test="remark != null">remark = #{remark},</if>
         <if test="dataScope != null and dataScope != ''">data_scope = #{dataScope},</if>
          update_time = sysdate()
       </set>
       where user_id = #{userId}