소스 검색

aps-大屏

sucheng 6 달 전
부모
커밋
701dec88de
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cx-aps/cx-aps-common/src/main/resources/mybatis/ApsProductionOrderDao.xml

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

@@ -496,7 +496,7 @@
                     join aps_process_operation_out_mater apoom on apo.id=apoom.MAINID-- 作业输出物料
                     join aps_blank_order abo on apo.BLANKID = abo.id
                     join aps_production_order apro on apro.ID = abo.PRODUCTIONORDERID
-                    join aps_product_detail apd on apoom.ORDERDETAILID = apd.id and apd.DELETED='0' -- 订单产品明细
+                    left join aps_product_detail apd on apoom.ORDERDETAILID = apd.id and apd.DELETED='0' -- 订单产品明细
                     left join aps_production_merge_order apmd on apmd.ORDERNO = apd.MERGEORDERNUMBER and apmd.DELETED='0'
             where
                 apope.deleted='0' and apo.DELETED='0' and abo.DELETED='0' and apro.deleted='0'