소스 검색

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

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>