[提交]:提交工作日报
This commit is contained in:
@ -0,0 +1,2 @@
|
||||
package com.bipt.intelligentapplicationorchestrationservice.controller;public class ModelController {
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
package com.bipt.intelligentapplicationorchestrationservice.mapper;public interface ModelMapper {
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
package com.bipt.intelligentapplicationorchestrationservice.pojo;public class ModelDTO {
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
package com.bipt.intelligentapplicationorchestrationservice.service.Impl;public class ModelServiceImpl {
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
package com.bipt.intelligentapplicationorchestrationservice.service.Impl;
|
||||
|
||||
public interface ModelService {
|
||||
}
|
23
src/main/resources/mapper/ModelMapper.xml
Normal file
23
src/main/resources/mapper/ModelMapper.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?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,
|
||||
m3.model_config, m3.version
|
||||
from model_log m1,
|
||||
model_info m2,
|
||||
model_version m3
|
||||
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>
|
Reference in New Issue
Block a user