服务发布回显模型名称和版本

This commit is contained in:
2025-07-14 15:54:51 +08:00
parent 671dc90b61
commit 19e8d21620
7 changed files with 55 additions and 8 deletions

View File

@ -39,6 +39,17 @@
FROM model_info t1 JOIN model_version t2 ON t1.id = t2.model_id
where t2.id = #{id}
</select>
<select id="selectByModelId"
resultType="com.bipt.intelligentapplicationorchestrationservice.pojo.ModelVersion">
SELECT
t1.model_name,
t2.version, t2.dataset_id, t2.model_config,
t2.model_path, t2.status, t2.create_time, t2.update_time, t2.model_size,
t2.data_pre_handle_file, t2.model_super_args, t2.model_args_size, t2.model_source_code_url, t2.model_file,
t2.model_design_document, t2.life_cycle, t2.operate_user
FROM model_info t1 JOIN model_version t2 ON t1.id = t2.model_id
where t2.model_id = #{id}
</select>
<!--更新模型信息-->
<update id="update">