|
|
|
@@ -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> |
|
|
|
|