This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 6c48a0c33c [INLONG-8541][Manager] Fix saving InlongGroup with error
tenant (#8542)
6c48a0c33c is described below
commit 6c48a0c33c358129b01ded9357723f003ca2923a
Author: vernedeng <[email protected]>
AuthorDate: Fri Jul 14 17:32:15 2023 +0800
[INLONG-8541][Manager] Fix saving InlongGroup with error tenant (#8542)
---
.../src/main/resources/mappers/InlongGroupEntityMapper.xml | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git
a/inlong-manager/manager-dao/src/main/resources/mappers/InlongGroupEntityMapper.xml
b/inlong-manager/manager-dao/src/main/resources/mappers/InlongGroupEntityMapper.xml
index 9628297771..8237726115 100644
---
a/inlong-manager/manager-dao/src/main/resources/mappers/InlongGroupEntityMapper.xml
+++
b/inlong-manager/manager-dao/src/main/resources/mappers/InlongGroupEntityMapper.xml
@@ -67,6 +67,7 @@
parameterType="org.apache.inlong.manager.dao.entity.InlongGroupEntity">
insert into inlong_group
<trim prefix="(" suffix=")" suffixOverrides="," >
+ tenant,
<if test="id != null">
id,
</if>
@@ -79,9 +80,6 @@
<if test="description != null and description != ''">
description,
</if>
- <if test="tenant != null and tenant != ''">
- tenant,
- </if>
<if test="mqType != null and mqType != ''">
mq_type,
</if>
@@ -138,6 +136,7 @@
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
+ #{tenant,jdbcType=VARCHAR},
<if test="id != null">
#{id,jdbcType=INTEGER},
</if>
@@ -150,9 +149,6 @@
<if test="description != null and description != ''">
#{description,jdbcType=VARCHAR},
</if>
- <if test="tenant != null and tenant != ''">
- #{tenant,jdbcType=VARCHAR},
- </if>
<if test="mqType != null and mqType != ''">
#{mqType,jdbcType=VARCHAR},
</if>