2025-05-14 21:16:03 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
<mapper namespace="com.bipt.intelligentapplicationorchestrationservice.mapper.EvaluationMapper">
|
2025-05-15 20:50:55 +08:00
|
|
|
<!--查询模型日志详细信息-->
|
2025-06-05 11:40:33 +08:00
|
|
|
<select id="selectLogDetail" resultType="com.bipt.intelligentapplicationorchestrationservice.pojo.ModelLogVO">
|
2025-05-14 21:16:03 +08:00
|
|
|
select m1.*,
|
|
|
|
m2.model_name,
|
|
|
|
m3.model_config, m3.version
|
|
|
|
from model_log m1,
|
|
|
|
model_info m2,
|
|
|
|
model_version m3
|
2025-07-04 10:54:14 +08:00
|
|
|
where m1.model_version_id=m3.id and m3.model_id=m2.id and m1.model_version_id = #{id}
|
2025-05-14 21:16:03 +08:00
|
|
|
</select>
|
|
|
|
|
2025-05-15 20:50:55 +08:00
|
|
|
<!--更新模型信息(目前只更新模型是否上线,后续如果更多需求可优化>-->
|
|
|
|
<update id="update">
|
|
|
|
update model_version set
|
|
|
|
<if test="status != null">
|
|
|
|
status=#{status}
|
|
|
|
</if>
|
2025-06-06 21:07:16 +08:00
|
|
|
where id=#{id}
|
2025-05-15 20:50:55 +08:00
|
|
|
</update>
|
2025-05-14 21:16:03 +08:00
|
|
|
</mapper>
|