(improvement)(project) support for modifying filter conditions and fix group by pushdown and add windows scipt (#49)

Co-authored-by: lexluo <lexluo@tencent.com>
This commit is contained in:
lexluo09
2023-09-03 23:51:47 +08:00
committed by GitHub
parent 8440f1f30e
commit 559ef974b0
317 changed files with 7449 additions and 9413 deletions

View File

@@ -5,7 +5,7 @@
<mapper namespace="com.tencent.supersonic.knowledge.persistence.mapper.DictTaskMapper">
<resultMap id="DimValueDictTaskPO"
type="com.tencent.supersonic.knowledge.persistence.dataobject.DictTaskDO">
type="com.tencent.supersonic.knowledge.persistence.dataobject.DictTaskDO">
<id column="id" property="id"/>
<result column="name" property="name"/>
<result column="description" property="description"/>
@@ -21,8 +21,8 @@
<insert id="createDimValueTask">
insert into s2_dictionary_task
(`name`, description, command, command_md5, status, created_by, progress, elapsed_ms)
values (#{name}, #{description}, #{command}, #{commandMd5}, #{status}, #{createdBy},
#{progress}, #{elapsedMs})
values
(#{name}, #{description}, #{command}, #{commandMd5}, #{status}, #{createdBy}, #{progress}, #{elapsedMs})
</insert>
<update id="updateTaskStatus">
@@ -54,7 +54,7 @@
and id >= #{id}
</if>
<if test="name != null and name !=''">
and `name` like "%"#{name}"%"
and `name` like "%"#{name}"%"
</if>
<if test="createdBy != null and createdBy !=''">
and created_by = #{createdBy}