mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 13:47:09 +00:00
(improvement)(Headless) Fix publish status when batch creating metric (#881)
Co-authored-by: jolunoluo
This commit is contained in:
@@ -71,7 +71,7 @@
|
|||||||
insert into s2_metric (model_id, name,
|
insert into s2_metric (model_id, name,
|
||||||
biz_name, description, type,status,sensitive_level,
|
biz_name, description, type,status,sensitive_level,
|
||||||
created_at, created_by, updated_at,
|
created_at, created_by, updated_at,
|
||||||
updated_by, type_params, define_type
|
updated_by, type_params, define_type,is_publish
|
||||||
)
|
)
|
||||||
values
|
values
|
||||||
<foreach collection="list" item="metric" separator=",">
|
<foreach collection="list" item="metric" separator=",">
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
#{metric.createdAt,jdbcType=TIMESTAMP}, #{metric.createdBy,jdbcType=VARCHAR},
|
#{metric.createdAt,jdbcType=TIMESTAMP}, #{metric.createdBy,jdbcType=VARCHAR},
|
||||||
#{metric.updatedAt,jdbcType=TIMESTAMP},
|
#{metric.updatedAt,jdbcType=TIMESTAMP},
|
||||||
#{metric.updatedBy,jdbcType=VARCHAR}, #{metric.typeParams,jdbcType=LONGVARCHAR},
|
#{metric.updatedBy,jdbcType=VARCHAR}, #{metric.typeParams,jdbcType=LONGVARCHAR},
|
||||||
#{metric.defineType,jdbcType=VARCHAR}
|
#{metric.defineType,jdbcType=VARCHAR},#{metric.isPublish,jdbcType=VARCHAR}
|
||||||
)
|
)
|
||||||
</foreach>
|
</foreach>
|
||||||
</insert>
|
</insert>
|
||||||
|
|||||||
Reference in New Issue
Block a user