Min 11 달 전
부모
커밋
03011e119b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      fhKeeper/formulahousekeeper/management-workshop/src/main/resources/mapper/ReportMapper.xml

+ 1 - 1
fhKeeper/formulahousekeeper/management-workshop/src/main/resources/mapper/ReportMapper.xml

@@ -255,7 +255,7 @@
         LEFT JOIN prod_procedure pp ON ppt.prod_procedure_id=pp.id
         LEFT JOIN product p ON p.id=plan.product_id
         WHERE ppt2.company_id=#{companyId}
-        AND r.sumReport < ppt2.work_time AND ppt.total_progress < 100
+        AND IFNULL(r.sumReport,0) < ppt2.work_time AND ppt.total_progress < 100
         <if test="date!=null and date!=''">
             and ppt2.distribute_date=#{date}
         </if>