소스 검색

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
              )