From ec5c0176b5ecc52a051867b412e541c56b70320b Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Wed, 08 Sep 2021 08:29:57 +0800
Subject: [PATCH] 1.单位
---
src/main/java/org/springblade/modules/regionWeight/mapper/RegionWeightMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/springblade/modules/regionWeight/mapper/RegionWeightMapper.xml b/src/main/java/org/springblade/modules/regionWeight/mapper/RegionWeightMapper.xml
index a6d4666..9bef9c1 100644
--- a/src/main/java/org/springblade/modules/regionWeight/mapper/RegionWeightMapper.xml
+++ b/src/main/java/org/springblade/modules/regionWeight/mapper/RegionWeightMapper.xml
@@ -162,14 +162,14 @@
FROM dbo.ST_STBPRP_B st
INNER JOIN dbo.ST_ADDVCD_D ad on ad.ADDVCD = st.ADDVCD
WHERE st.STTP = 'PP'
- OR st.STTP = 'ZQ'
+ OR st.STTP = 'ZQ' OR st.STTP='ZZ'
) c
INNER JOIN (
SELECT SUM
(strd.DRP) AS dyp,
STCD
FROM dbo.ST_PPTN_R strd
- WHERE strd.TM >= #{beginTime}
+ WHERE strd.TM > #{beginTime}
AND strd.TM <= #{endTime}
GROUP BY STCD
) csd ON csd.STCD = c.STCD
--
Gitblit v1.9.3