소스 검색

Merge branch 'zzy' into test

zhouzeyu@c-top.com.cn 3 년 전
부모
커밋
35dcb25431
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      jeecg-boot-material-view/src/main/java/org/jeecg/ctop/material/mapper/xml/MaterialReportOverViewV3Mapper.xml

+ 7 - 0
jeecg-boot-material-view/src/main/java/org/jeecg/ctop/material/mapper/xml/MaterialReportOverViewV3Mapper.xml

@@ -734,6 +734,10 @@
             <if test='innovative==1'>
                 and t.material_innovate=1
             </if>
+            <if test='materialType!=null'>
+                and t2.material_id is not null
+            </if>
+
             AND t1.company_id=#{companyId}
         </where>
         GROUP BY t1.signature
@@ -852,6 +856,9 @@
             <if test='innovative==1'>
                 and t.material_innovate=1
             </if>
+            <if test='materialType!=null'>
+                and t2.material_id is not null
+            </if>
             AND t1.company_id=#{companyId}
         </where>
         GROUP BY t1.signature