|
@@ -4,6 +4,7 @@ import api.common.pojo.po.algorithm.AlgorithmPO;
|
|
import api.common.pojo.vo.algorithm.RunningProjectVO;
|
|
import api.common.pojo.vo.algorithm.RunningProjectVO;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
+import org.apache.ibatis.annotations.Select;
|
|
import org.springframework.stereotype.Repository;
|
|
import org.springframework.stereotype.Repository;
|
|
import api.common.pojo.vo.algorithm.AlgorithmVO;
|
|
import api.common.pojo.vo.algorithm.AlgorithmVO;
|
|
import api.common.pojo.param.algorithm.AlgorithmParameter;
|
|
import api.common.pojo.param.algorithm.AlgorithmParameter;
|
|
@@ -24,6 +25,11 @@ public interface AlgorithmMapper {
|
|
|
|
|
|
AlgorithmPO selectDetailsById(@Param("algorithmId") String algorithmId);
|
|
AlgorithmPO selectDetailsById(@Param("algorithmId") String algorithmId);
|
|
|
|
|
|
|
|
+ @Select(" select a.is_deleted\n" +
|
|
|
|
+ " from `algorithm` a \n" +
|
|
|
|
+ " where a.id = #{id,jdbcType=VARCHAR}")
|
|
|
|
+ String selectIsDeletedById(@Param("algorithmId") String algorithmId);
|
|
|
|
+
|
|
List<AlgorithmPO> selectAlgorithmName(AlgorithmParameter param);
|
|
List<AlgorithmPO> selectAlgorithmName(AlgorithmParameter param);
|
|
|
|
|
|
List<AlgorithmPO> selectSharedAlgorithmName(@Param("algorithmName") String algorithmName);
|
|
List<AlgorithmPO> selectSharedAlgorithmName(@Param("algorithmName") String algorithmName);
|