sucheng 7 ヶ月 前
コミット
98af9f0010

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

@@ -1304,7 +1304,7 @@
                            and arr.REPORTWORKSTATUS='已报工'
                            and apo.TENANTID=#{tenantId}
                          group by
-                             arr.HEATNUMBER
+                             apope.PROCESSDEVICEID,arr.HEATNUMBER
                      ) heat
                  group by PROCESSWORKSHOPID
              )
@@ -1387,7 +1387,7 @@
                            and arr.REPORTWORKSTATUS='已报工'
                            and apo.TENANTID=#{tenantId}
                          group by
-                             arr.HEATNUMBER
+                             apope.PROCESSDEVICEID,arr.HEATNUMBER
                      ) heat
                  group by month_year
              )
@@ -1455,7 +1455,7 @@
                            and arr.REPORTWORKSTATUS='已报工'
                            and apo.TENANTID=#{tenantId}
                          group by
-                             arr.HEATNUMBER
+                             apope.PROCESSDEVICEID,arr.HEATNUMBER
                      ) heat
                  group by month_year
              )