瀏覽代碼

aps-大屏

sucheng 7 月之前
父節點
當前提交
98af9f0010
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      cx-aps/cx-aps-common/src/main/resources/mybatis/ApsProductionOrderDao.xml

+ 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
              )