diff --git a/src/main/java/net/educoder/ecsonar/dao/CloudTaskInfoDetailDao.java b/src/main/java/net/educoder/ecsonar/dao/CloudTaskInfoDetailDao.java index 28c5c1e..9e4e27d 100644 --- a/src/main/java/net/educoder/ecsonar/dao/CloudTaskInfoDetailDao.java +++ b/src/main/java/net/educoder/ecsonar/dao/CloudTaskInfoDetailDao.java @@ -38,7 +38,7 @@ public interface CloudTaskInfoDetailDao { * @param taskId * @return */ - @Select("select count(1) from cloud_task_info_detail where task_id=#{taskId} and status=1") + @Select("select count(1) from cloud_task_info_detail where task_id=#{taskId} and status!=0") Integer selectCountByTaskId(String taskId);