|
@@ -158,4 +158,21 @@
|
|
where id=#{id,jdbcType=VARCHAR}
|
|
where id=#{id,jdbcType=VARCHAR}
|
|
</update>
|
|
</update>
|
|
|
|
|
|
|
|
+ <!--查询算法数量首页-->
|
|
|
|
+ <select id="selectDetailsBySy" parameterType="api.common.pojo.param.algorithm.AlgorithmParameter" resultType="java.lang.Integer">
|
|
|
|
+ select count(id)
|
|
|
|
+ from algorithm
|
|
|
|
+ where
|
|
|
|
+ is_deleted = '0'
|
|
|
|
+ <if test="createUserId != null and createUserId != ''">
|
|
|
|
+ and create_user_id=#{createUserId,jdbcType=VARCHAR}
|
|
|
|
+ </if>
|
|
|
|
+ <if test="share != null and share != ''">
|
|
|
|
+ and share=#{share}
|
|
|
|
+ </if>
|
|
|
|
+ <if test="uploadMode != null and uploadMode != ''">
|
|
|
|
+ and upload_mode=#{uploadMode}
|
|
|
|
+ </if>
|
|
|
|
+
|
|
|
|
+ </select>
|
|
</mapper>
|
|
</mapper>
|