|
@@ -52,12 +52,12 @@
|
|
|
|
|
|
<!--查询算法列表—私有-->
|
|
|
<select id="selectAlgorithmList" parameterType="api.common.pojo.param.algorithm.AlgorithmParameter" resultType="api.common.pojo.vo.algorithm.AlgorithmVO">
|
|
|
- select id, algorithm_name, description, validation_status, upload_mode from algorithm
|
|
|
+ select id, algorithm_code, algorithm_name, description, validation_status, upload_mode from algorithm
|
|
|
<where>
|
|
|
is_deleted = '0' and share = '0'
|
|
|
</where>
|
|
|
- <if test="id != null and id != ''">
|
|
|
- and id like CONCAT('%',#{id,jdbcType=VARCHAR},'%')
|
|
|
+ <if test="algorithmCode != null and algorithmCode != ''">
|
|
|
+ and algorithm_code like CONCAT('%',#{algorithmCode,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test="algorithmName != null and algorithmName != ''">
|
|
|
and algorithm_name like CONCAT('%',#{algorithmName,jdbcType=VARCHAR},'%')
|
|
@@ -99,17 +99,20 @@
|
|
|
<if test="id != null and id != ''">
|
|
|
and id != #{id,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
+ <if test="share != null and share != ''">
|
|
|
+ and share = #{share,jdbcType=VARCHAR}
|
|
|
+ </if>
|
|
|
</select>
|
|
|
|
|
|
|
|
|
<!--查询算法列表—公有-->
|
|
|
<select id="selectSharedAlgorithmList" parameterType="api.common.pojo.param.algorithm.AlgorithmParameter" resultType="api.common.pojo.vo.algorithm.AlgorithmVO">
|
|
|
- select id, algorithm_name, description, validation_status, upload_mode from algorithm
|
|
|
+ select id, algorithm_code, algorithm_name, description, validation_status, upload_mode from algorithm
|
|
|
<where>
|
|
|
is_deleted = '0'
|
|
|
</where>
|
|
|
- <if test="id != null and id != ''">
|
|
|
- and id like CONCAT('%',#{id,jdbcType=VARCHAR},'%')
|
|
|
+ <if test="algorithmCode != null and algorithmCode != ''">
|
|
|
+ and algorithm_code like CONCAT('%',#{algorithmCode,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test="algorithmName != null and algorithmName != ''">
|
|
|
and algorithm_name like CONCAT('%',#{algorithmName,jdbcType=VARCHAR},'%')
|
|
@@ -152,7 +155,6 @@
|
|
|
git_token=#{gitToken,jdbcType=VARCHAR},
|
|
|
file_name=#{fileName,jdbcType=VARCHAR},
|
|
|
minio_path=#{minioPath,jdbcType=VARCHAR},
|
|
|
- linux_path=#{linuxPath,jdbcType=VARCHAR},
|
|
|
modify_time=#{modifyTime,jdbcType=VARCHAR},
|
|
|
modify_user_id=#{modifyUserId,jdbcType=VARCHAR}
|
|
|
where id=#{id,jdbcType=VARCHAR}
|