Browse Source

优化更新ray

pull/268/head
chenzhihang 8 months ago
parent
commit
879c2e5802
1 changed files with 3 additions and 9 deletions
  1. +3
    -9
      ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/RayDaoMapper.xml

+ 3
- 9
ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/RayDaoMapper.xml View File

@@ -25,9 +25,6 @@
<if test="ray.dataset != null and ray.dataset !=''">
dataset = #{ray.dataset},
</if>
<if test="ray.model != null and ray.model !=''">
model = #{ray.model},
</if>
<if test="ray.codeConfig != null and ray.codeConfig !=''">
code_config = #{ray.codeConfig},
</if>
@@ -49,12 +46,6 @@
<if test="ray.storagePath != null and ray.storagePath !=''">
storage_path = #{ray.storagePath},
</if>
<if test="ray.searchAlg != null and ray.searchAlg !=''">
search_alg = #{ray.searchAlg},
</if>
<if test="ray.scheduler != null and ray.scheduler !=''">
scheduler = #{ray.scheduler},
</if>
<if test="ray.metric != null and ray.metric !=''">
metric = #{ray.metric},
</if>
@@ -82,6 +73,9 @@
<if test="ray.state != null">
state = #{ray.state},
</if>
model = #{ray.model},
scheduler = #{ray.scheduler},
search_alg = #{ray.searchAlg},
</set>
where id = #{ray.id}
</update>


Loading…
Cancel
Save