浏览代码

质量问题报表问题修改

wangliang 1 年之前
父节点
当前提交
ec46b3d8a4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sop-business/src/main/resources/mapper/QualityAnalyseMapper.xml

+ 1 - 1
sop-business/src/main/resources/mapper/QualityAnalyseMapper.xml

@@ -68,7 +68,7 @@
         LEFT JOIN t_f_custom_flow_entity fe ON fe.`code` = a.problem_no
         LEFT JOIN t_f_flow_approve fa ON fa.flow_id = fe.flow_id
         <where>
-            and a.type != 'NO_PROBLEM'
+            and a.type != 'NO_PROBLEM' and fa.STATUS = 'FINISH'
             <if test="serviceUnitId != null and serviceUnitId != ''">
                 and a.service_id = #{serviceUnitId}
             </if>