Преглед на файлове

王耀栋--工作台模块代码,任务结果统计数字修改

wangyaodong преди 3 години
родител
ревизия
48089226ac
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      simulation-resource-server/src/main/resources/mapper/project/SimulationProjectTaskMapper.xml

+ 1 - 1
simulation-resource-server/src/main/resources/mapper/project/SimulationProjectTaskMapper.xml

@@ -46,7 +46,7 @@
     <select id="selectRunResultCount" parameterType="string" resultType="api.common.pojo.vo.project.ProjectRunResultRatioNumVo">
         select run_result as resultName, count(*) as num
         from simulation_manual_project_task
-        where p_id = #{id,jdbcType=VARCHAR} and is_deleted = '0'
+        where p_id = #{id,jdbcType=VARCHAR} and is_deleted = '0' and run_result != null and run_result != ""
         group by run_result
     </select>