浏览代码

BUG修改

wangliang 2 年之前
父节点
当前提交
a857b18501
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      teachcloud-common/src/main/resources/mapper/TBTaskMapper.xml

+ 1 - 1
teachcloud-common/src/main/resources/mapper/TBTaskMapper.xml

@@ -14,7 +14,7 @@
             tbt.create_id as createId,
             su.real_name as createName,
             if(ISNULL(tbt.import_file_path),false,true) as hasImportFile,
-            if(ISNULL(tbt.result_file_path),false,true) or if(ISNULL(tbt.import_file_path),false,true) as hasResultFile,
+            if(ISNULL(tbt.result_file_path),false,true) as hasResultFile,
             if(ISNULL(tbt.report_file_path),false,true) as hasReportFile,
             if(ISNULL(tbt.error_file_path),false,true) as hasErrorFile,
             tbt.reset_count as resetCount,