Browse Source

更新

tags/v2.4.0
xiaoying 1 year ago
parent
commit
4152336829
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tuoheng_oidc_admin/src/main/resources/mapper/TenantMapper.xml

+ 2
- 2
tuoheng_oidc_admin/src/main/resources/mapper/TenantMapper.xml View File

@@ -9,10 +9,10 @@
<update id="updateById" parameterType="com.tuoheng.model.po.TenantPo">
update t_tenant
<set>
<if test="name !=null and name !=''">
<if test="name != null and name !=''">
name = #{name},
</if>
<if test="enabled !=null">
<if test="enabled != null">
enabled = #{enabled},
</if>
</set>

Loading…
Cancel
Save