From bada54f8cb30af583d1d10b17f97f38cdf7865e4 Mon Sep 17 00:00:00 2001 From: youys <1272586223@qq.com> Date: Tue, 28 Mar 2023 18:01:07 +0800 Subject: [PATCH] fix bug --- .../java/net/educoder/ecsonar/dao/CloudTaskInfoDetailDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);