Selaa lähdekoodia

Merge remote-tracking branch 'remotes/origin/dev-2.10.0' into dev

ZeroLiYi 1 vuosi sitten
vanhempi
commit
277b095c37

+ 2 - 2
unis-plugin/unis-plugin-biz/src/main/java/com/unis/finishedGrainSupervision/modular/mapper/mapping/DataKcglKcswDefaultCountMapper.xml

@@ -127,7 +127,7 @@
127 127
         SELECT
128 128
             PlanStatus,
129 129
             SUM(PlanCount) AS TotalForStatus,
130
-            ROUND(SUM(PlanCount) * 100.0 / (SELECT COUNT(*) FROM business_pg_gops_plan), 2) AS Percentage
130
+            ROUND(SUM(PlanCount) * 100.0 / (SELECT COUNT(*) FROM depot_qh.business_pg_gops_plan), 2) AS Percentage
131 131
         FROM
132 132
             (
133 133
                 SELECT
@@ -137,7 +137,7 @@
137 137
                         END AS PlanStatus,
138 138
                     COUNT(*) AS PlanCount
139 139
                 FROM
140
-                    business_pg_gops_plan
140
+                    depot_qh.business_pg_gops_plan
141 141
                 GROUP BY
142 142
                     CASE
143 143
                         WHEN plan_quantity = completion_quantity THEN '已完成计划'