V3.9.0 Oracle11g 数据库 登录提示 无效的列类型: 1111 #9145

This commit is contained in:
JEECG
2025-11-27 18:44:35 +08:00
parent c9ac4c9945
commit 74cd57fd99

View File

@ -74,17 +74,17 @@
<update id="updateUserDepart"> <update id="updateUserDepart">
UPDATE sys_user SET UPDATE sys_user SET
<if test="orgCode!=null and loginTenantId!=null"> <if test="orgCode!=null and loginTenantId!=null">
org_code = #{orgCode} org_code = #{orgCode, jdbcType=VARCHAR}
,login_tenant_id = #{loginTenantId} ,login_tenant_id = #{loginTenantId, jdbcType=VARCHAR}
</if> </if>
<if test="orgCode==null and loginTenantId!=null"> <if test="orgCode==null and loginTenantId!=null">
login_tenant_id = #{loginTenantId} login_tenant_id = #{loginTenantId, jdbcType=VARCHAR}
</if> </if>
<if test="orgCode!=null and loginTenantId==null"> <if test="orgCode!=null and loginTenantId==null">
org_code = #{orgCode} org_code = #{orgCode, jdbcType=VARCHAR}
</if> </if>
<if test="orgCode==null and loginTenantId==null"> <if test="orgCode==null and loginTenantId==null">
org_code = #{orgCode} org_code = #{orgCode, jdbcType=VARCHAR}
</if> </if>
where username = #{username} where username = #{username}
</update> </update>