|
|
@@ -5,15 +5,15 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
|
<result column="content_id" jdbcType="BIGINT" property="contentId" />
|
|
|
<result column="task_id" jdbcType="VARCHAR" property="taskId" />
|
|
|
+ <result column="config_code" jdbcType="VARCHAR" property="configCode" />
|
|
|
<result column="source_field" jdbcType="VARCHAR" property="sourceField" />
|
|
|
<result column="source_path" jdbcType="VARCHAR" property="sourcePath" />
|
|
|
<result column="vector_dimension" jdbcType="INTEGER" property="vectorDimension" />
|
|
|
- <result column="vector_data" jdbcType="CHAR" property="vectorData" />
|
|
|
<result column="text_hash" jdbcType="VARCHAR" property="textHash" />
|
|
|
<result column="embedding_model" jdbcType="VARCHAR" property="embeddingModel" />
|
|
|
<result column="segment_index" jdbcType="INTEGER" property="segmentIndex" />
|
|
|
@@ -25,15 +25,16 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
+ <result column="vector_data" jdbcType="LONGVARCHAR" property="vectorData" />
|
|
|
<result column="source_text" jdbcType="LONGVARCHAR" property="sourceText" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
<where>
|
|
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
|
|
@@ -67,7 +68,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
<where>
|
|
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
|
@@ -101,24 +102,24 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
- id, content_id, task_id, source_field, source_path, vector_dimension, vector_data,
|
|
|
+ id, content_id, task_id, config_code, source_field, source_path, vector_dimension,
|
|
|
text_hash, embedding_model, segment_index, segment_total, create_time, update_time
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
- source_text
|
|
|
+ vector_data, source_text
|
|
|
</sql>
|
|
|
<select id="selectByExampleWithBLOBs" parameterType="com.tzld.videoVector.model.po.videoVector.deconstruct.DeconstructContentVectorExample" resultMap="ResultMapWithBLOBs">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
select
|
|
|
<if test="distinct">
|
|
|
@@ -139,7 +140,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
select
|
|
|
<if test="distinct">
|
|
|
@@ -158,7 +159,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
@@ -171,7 +172,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
delete from deconstruct_content_vector
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
@@ -180,7 +181,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
delete from deconstruct_content_vector
|
|
|
<if test="_parameter != null">
|
|
|
@@ -191,24 +192,26 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
insert into deconstruct_content_vector (id, content_id, task_id,
|
|
|
- source_field, source_path, vector_dimension,
|
|
|
- vector_data, text_hash, embedding_model,
|
|
|
+ config_code, source_field, source_path,
|
|
|
+ vector_dimension, text_hash, embedding_model,
|
|
|
segment_index, segment_total, create_time,
|
|
|
- update_time, source_text)
|
|
|
+ update_time, vector_data, source_text
|
|
|
+ )
|
|
|
values (#{id,jdbcType=BIGINT}, #{contentId,jdbcType=BIGINT}, #{taskId,jdbcType=VARCHAR},
|
|
|
- #{sourceField,jdbcType=VARCHAR}, #{sourcePath,jdbcType=VARCHAR}, #{vectorDimension,jdbcType=INTEGER},
|
|
|
- #{vectorData,jdbcType=CHAR}, #{textHash,jdbcType=VARCHAR}, #{embeddingModel,jdbcType=VARCHAR},
|
|
|
+ #{configCode,jdbcType=VARCHAR}, #{sourceField,jdbcType=VARCHAR}, #{sourcePath,jdbcType=VARCHAR},
|
|
|
+ #{vectorDimension,jdbcType=INTEGER}, #{textHash,jdbcType=VARCHAR}, #{embeddingModel,jdbcType=VARCHAR},
|
|
|
#{segmentIndex,jdbcType=INTEGER}, #{segmentTotal,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
- #{updateTime,jdbcType=TIMESTAMP}, #{sourceText,jdbcType=LONGVARCHAR})
|
|
|
+ #{updateTime,jdbcType=TIMESTAMP}, #{vectorData,jdbcType=LONGVARCHAR}, #{sourceText,jdbcType=LONGVARCHAR}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.videoVector.model.po.videoVector.deconstruct.DeconstructContentVector">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
insert into deconstruct_content_vector
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
@@ -221,6 +224,9 @@
|
|
|
<if test="taskId != null">
|
|
|
task_id,
|
|
|
</if>
|
|
|
+ <if test="configCode != null">
|
|
|
+ config_code,
|
|
|
+ </if>
|
|
|
<if test="sourceField != null">
|
|
|
source_field,
|
|
|
</if>
|
|
|
@@ -230,9 +236,6 @@
|
|
|
<if test="vectorDimension != null">
|
|
|
vector_dimension,
|
|
|
</if>
|
|
|
- <if test="vectorData != null">
|
|
|
- vector_data,
|
|
|
- </if>
|
|
|
<if test="textHash != null">
|
|
|
text_hash,
|
|
|
</if>
|
|
|
@@ -251,6 +254,9 @@
|
|
|
<if test="updateTime != null">
|
|
|
update_time,
|
|
|
</if>
|
|
|
+ <if test="vectorData != null">
|
|
|
+ vector_data,
|
|
|
+ </if>
|
|
|
<if test="sourceText != null">
|
|
|
source_text,
|
|
|
</if>
|
|
|
@@ -265,6 +271,9 @@
|
|
|
<if test="taskId != null">
|
|
|
#{taskId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="configCode != null">
|
|
|
+ #{configCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="sourceField != null">
|
|
|
#{sourceField,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -274,9 +283,6 @@
|
|
|
<if test="vectorDimension != null">
|
|
|
#{vectorDimension,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="vectorData != null">
|
|
|
- #{vectorData,jdbcType=CHAR},
|
|
|
- </if>
|
|
|
<if test="textHash != null">
|
|
|
#{textHash,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -295,6 +301,9 @@
|
|
|
<if test="updateTime != null">
|
|
|
#{updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="vectorData != null">
|
|
|
+ #{vectorData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
<if test="sourceText != null">
|
|
|
#{sourceText,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
@@ -304,7 +313,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
select count(*) from deconstruct_content_vector
|
|
|
<if test="_parameter != null">
|
|
|
@@ -315,7 +324,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
update deconstruct_content_vector
|
|
|
<set>
|
|
|
@@ -328,6 +337,9 @@
|
|
|
<if test="record.taskId != null">
|
|
|
task_id = #{record.taskId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.configCode != null">
|
|
|
+ config_code = #{record.configCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.sourceField != null">
|
|
|
source_field = #{record.sourceField,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -337,9 +349,6 @@
|
|
|
<if test="record.vectorDimension != null">
|
|
|
vector_dimension = #{record.vectorDimension,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="record.vectorData != null">
|
|
|
- vector_data = #{record.vectorData,jdbcType=CHAR},
|
|
|
- </if>
|
|
|
<if test="record.textHash != null">
|
|
|
text_hash = #{record.textHash,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -358,6 +367,9 @@
|
|
|
<if test="record.updateTime != null">
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="record.vectorData != null">
|
|
|
+ vector_data = #{record.vectorData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.sourceText != null">
|
|
|
source_text = #{record.sourceText,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
@@ -370,22 +382,23 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
update deconstruct_content_vector
|
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
|
content_id = #{record.contentId,jdbcType=BIGINT},
|
|
|
task_id = #{record.taskId,jdbcType=VARCHAR},
|
|
|
+ config_code = #{record.configCode,jdbcType=VARCHAR},
|
|
|
source_field = #{record.sourceField,jdbcType=VARCHAR},
|
|
|
source_path = #{record.sourcePath,jdbcType=VARCHAR},
|
|
|
vector_dimension = #{record.vectorDimension,jdbcType=INTEGER},
|
|
|
- vector_data = #{record.vectorData,jdbcType=CHAR},
|
|
|
text_hash = #{record.textHash,jdbcType=VARCHAR},
|
|
|
embedding_model = #{record.embeddingModel,jdbcType=VARCHAR},
|
|
|
segment_index = #{record.segmentIndex,jdbcType=INTEGER},
|
|
|
segment_total = #{record.segmentTotal,jdbcType=INTEGER},
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
+ vector_data = #{record.vectorData,jdbcType=LONGVARCHAR},
|
|
|
source_text = #{record.sourceText,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -395,16 +408,16 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
update deconstruct_content_vector
|
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
|
content_id = #{record.contentId,jdbcType=BIGINT},
|
|
|
task_id = #{record.taskId,jdbcType=VARCHAR},
|
|
|
+ config_code = #{record.configCode,jdbcType=VARCHAR},
|
|
|
source_field = #{record.sourceField,jdbcType=VARCHAR},
|
|
|
source_path = #{record.sourcePath,jdbcType=VARCHAR},
|
|
|
vector_dimension = #{record.vectorDimension,jdbcType=INTEGER},
|
|
|
- vector_data = #{record.vectorData,jdbcType=CHAR},
|
|
|
text_hash = #{record.textHash,jdbcType=VARCHAR},
|
|
|
embedding_model = #{record.embeddingModel,jdbcType=VARCHAR},
|
|
|
segment_index = #{record.segmentIndex,jdbcType=INTEGER},
|
|
|
@@ -419,7 +432,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
update deconstruct_content_vector
|
|
|
<set>
|
|
|
@@ -429,6 +442,9 @@
|
|
|
<if test="taskId != null">
|
|
|
task_id = #{taskId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="configCode != null">
|
|
|
+ config_code = #{configCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="sourceField != null">
|
|
|
source_field = #{sourceField,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -438,9 +454,6 @@
|
|
|
<if test="vectorDimension != null">
|
|
|
vector_dimension = #{vectorDimension,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="vectorData != null">
|
|
|
- vector_data = #{vectorData,jdbcType=CHAR},
|
|
|
- </if>
|
|
|
<if test="textHash != null">
|
|
|
text_hash = #{textHash,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -459,6 +472,9 @@
|
|
|
<if test="updateTime != null">
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="vectorData != null">
|
|
|
+ vector_data = #{vectorData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
<if test="sourceText != null">
|
|
|
source_text = #{sourceText,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
@@ -469,21 +485,22 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
update deconstruct_content_vector
|
|
|
set content_id = #{contentId,jdbcType=BIGINT},
|
|
|
task_id = #{taskId,jdbcType=VARCHAR},
|
|
|
+ config_code = #{configCode,jdbcType=VARCHAR},
|
|
|
source_field = #{sourceField,jdbcType=VARCHAR},
|
|
|
source_path = #{sourcePath,jdbcType=VARCHAR},
|
|
|
vector_dimension = #{vectorDimension,jdbcType=INTEGER},
|
|
|
- vector_data = #{vectorData,jdbcType=CHAR},
|
|
|
text_hash = #{textHash,jdbcType=VARCHAR},
|
|
|
embedding_model = #{embeddingModel,jdbcType=VARCHAR},
|
|
|
segment_index = #{segmentIndex,jdbcType=INTEGER},
|
|
|
segment_total = #{segmentTotal,jdbcType=INTEGER},
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ vector_data = #{vectorData,jdbcType=LONGVARCHAR},
|
|
|
source_text = #{sourceText,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
@@ -491,15 +508,15 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Mon Mar 09 10:39:51 CST 2026.
|
|
|
+ This element was generated on Thu Apr 23 15:03:47 CST 2026.
|
|
|
-->
|
|
|
update deconstruct_content_vector
|
|
|
set content_id = #{contentId,jdbcType=BIGINT},
|
|
|
task_id = #{taskId,jdbcType=VARCHAR},
|
|
|
+ config_code = #{configCode,jdbcType=VARCHAR},
|
|
|
source_field = #{sourceField,jdbcType=VARCHAR},
|
|
|
source_path = #{sourcePath,jdbcType=VARCHAR},
|
|
|
vector_dimension = #{vectorDimension,jdbcType=INTEGER},
|
|
|
- vector_data = #{vectorData,jdbcType=CHAR},
|
|
|
text_hash = #{textHash,jdbcType=VARCHAR},
|
|
|
embedding_model = #{embeddingModel,jdbcType=VARCHAR},
|
|
|
segment_index = #{segmentIndex,jdbcType=INTEGER},
|