[improvement][project] supersonic 0.7.2 version backend update (#28)

Co-authored-by: jipengli <jipengli@tencent.com>
This commit is contained in:
jipeli
2023-08-15 08:56:18 +08:00
committed by GitHub
parent 27283001a8
commit b1952d64ab
461 changed files with 18548 additions and 11939 deletions

View File

@@ -5,7 +5,7 @@
<resultMap id="BaseResultMap"
type="com.tencent.supersonic.semantic.model.domain.dataobject.ViewInfoDO">
<id column="id" jdbcType="BIGINT" property="id"/>
<result column="domain_id" jdbcType="BIGINT" property="domainId"/>
<result column="model_id" jdbcType="BIGINT" property="modelId"/>
<result column="type" jdbcType="VARCHAR" property="type"/>
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt"/>
<result column="created_by" jdbcType="VARCHAR" property="createdBy"/>
@@ -49,7 +49,7 @@
</sql>
<sql id="Base_Column_List">
id
, domain_id, type, created_at, created_by, updated_at, updated_by
, model_id, type, created_at, created_by, updated_at, updated_by
</sql>
<sql id="Blob_Column_List">
config
@@ -106,10 +106,10 @@
</delete>
<insert id="insert"
parameterType="com.tencent.supersonic.semantic.model.domain.dataobject.ViewInfoDO">
insert into s2_view_info (id, domain_id, type,
insert into s2_view_info (id, model_id, type,
created_at, created_by, updated_at,
updated_by, config)
values (#{id,jdbcType=BIGINT}, #{domainId,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR},
values (#{id,jdbcType=BIGINT}, #{modelId,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR},
#{createdAt,jdbcType=TIMESTAMP}, #{createdBy,jdbcType=VARCHAR},
#{updatedAt,jdbcType=TIMESTAMP},
#{updatedBy,jdbcType=VARCHAR}, #{config,jdbcType=LONGVARCHAR})
@@ -121,8 +121,8 @@
<if test="id != null">
id,
</if>
<if test="domainId != null">
domain_id,
<if test="modelId != null">
model_id,
</if>
<if test="type != null">
type,
@@ -147,8 +147,8 @@
<if test="id != null">
#{id,jdbcType=BIGINT},
</if>
<if test="domainId != null">
#{domainId,jdbcType=BIGINT},
<if test="modelId != null">
#{modelId,jdbcType=BIGINT},
</if>
<if test="type != null">
#{type,jdbcType=VARCHAR},
@@ -182,8 +182,8 @@
parameterType="com.tencent.supersonic.semantic.model.domain.dataobject.ViewInfoDO">
update s2_view_info
<set>
<if test="domainId != null">
domain_id = #{domainId,jdbcType=BIGINT},
<if test="modelId != null">
model_id = #{modelId,jdbcType=BIGINT},
</if>
<if test="type != null">
type = #{type,jdbcType=VARCHAR},
@@ -209,7 +209,7 @@
<update id="updateByPrimaryKeyWithBLOBs"
parameterType="com.tencent.supersonic.semantic.model.domain.dataobject.ViewInfoDO">
update s2_view_info
set domain_id = #{domainId,jdbcType=BIGINT},
set model_id = #{modelId,jdbcType=BIGINT},
type = #{type,jdbcType=VARCHAR},
created_at = #{createdAt,jdbcType=TIMESTAMP},
created_by = #{createdBy,jdbcType=VARCHAR},
@@ -221,7 +221,7 @@
<update id="updateByPrimaryKey"
parameterType="com.tencent.supersonic.semantic.model.domain.dataobject.ViewInfoDO">
update s2_view_info
set domain_id = #{domainId,jdbcType=BIGINT},
set model_id = #{modelId,jdbcType=BIGINT},
type = #{type,jdbcType=VARCHAR},
created_at = #{createdAt,jdbcType=TIMESTAMP},
created_by = #{createdBy,jdbcType=VARCHAR},