Selaa lähdekoodia

feature 解决下一节点重复数据的问题

xiahan 1 vuosi sitten
vanhempi
commit
506751fe16

+ 1 - 1
cx-aps/cx-aps-common/src/main/resources/mybatis/ApsProcessOperationProcessEquDao.xml

@@ -195,7 +195,7 @@
         LEFT JOIN aps_process_operation a2 ON a1.PROCESSID = a2.ID
         LEFT JOIN aps_blank_order a3 ON a3.ID = a2.BLANKID
         LEFT JOIN aps_production_order a6 ON a6.ID = a3.PRODUCTIONORDERID
-        LEFT JOIN aps_product_detail a5 ON a6.ID = a5.MAINID
+        LEFT JOIN aps_product_detail a5 ON a6.ID = a5.MAINID and a4.PRODUCTID=a5.ID
         LEFT JOIN aps_process_output_product a4 ON a3.ID = a4.BLANKID
         LEFT JOIN aps_customer_management a7 on a6.CUSTOMID= a7.ID
         left join asp_check_items b on a1.PROCESSDEVICEID =b.ID