You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2023/03/15 12:15:38 UTC
[inlong] branch master updated: [INLONG-7616][Manager] Fix failed to obtain audit information (#7617)
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 bbda4491b [INLONG-7616][Manager] Fix failed to obtain audit information (#7617)
bbda4491b is described below
commit bbda4491b9d303ba4ee3b4d6907b321cec64ea56
Author: fuweng11 <76...@users.noreply.github.com>
AuthorDate: Wed Mar 15 20:15:30 2023 +0800
[INLONG-7616][Manager] Fix failed to obtain audit information (#7617)
---
.../src/main/resources/mappers/AuditBaseEntityMapper.xml | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/inlong-manager/manager-dao/src/main/resources/mappers/AuditBaseEntityMapper.xml b/inlong-manager/manager-dao/src/main/resources/mappers/AuditBaseEntityMapper.xml
index 6746071e7..cc947d26e 100644
--- a/inlong-manager/manager-dao/src/main/resources/mappers/AuditBaseEntityMapper.xml
+++ b/inlong-manager/manager-dao/src/main/resources/mappers/AuditBaseEntityMapper.xml
@@ -65,14 +65,8 @@
select
<include refid="Base_Column_List"/>
from audit_base
- <where>
- <if test="type != null and type != ''">
- and type = #{type, jdbcType=VARCHAR}
- </if>
- <if test="isSent != null and isSent != ''">
- and is_sent = #{isSent,jdbcType=INTEGER}
- </if>
- </where>
+ where type = #{type, jdbcType=VARCHAR}
+ and is_sent = #{isSent, jdbcType=INTEGER}
</select>
</mapper>