[新增]:基本完成模型评估部分的功能开发

This commit is contained in:
2025-05-15 20:50:55 +08:00
parent 220fdb1121
commit d14afaf3ca
8 changed files with 113 additions and 4 deletions

View File

@ -1,6 +1,7 @@
<?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">
<!--查询模型日志详细信息-->
<select id="selectLogDetail" resultType="modelLogVO">
select m1.*,
m2.model_name,
@ -11,4 +12,12 @@
where m1.model_id=m2.id and m3.model_id=m2.id and m1.model_id = #{id}
</select>
<!--更新模型信息(目前只更新模型是否上线,后续如果更多需求可优化>-->
<update id="update">
update model_version set
<if test="status != null">
status=#{status}
</if>
where model_id=#{id}
</update>
</mapper>