From 39c766bf464067d25bbec334251d1ca9c397e7ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E5=AE=9D=E9=BE=99?= Date: Sat, 4 Jul 2026 22:09:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/ModelWarningIndicatorDataMapper.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ruoyi-bussiness/src/main/resources/mapper/ModelWarningIndicatorDataMapper.xml b/ruoyi-bussiness/src/main/resources/mapper/ModelWarningIndicatorDataMapper.xml index 9dbeb1a..d50e1e2 100644 --- a/ruoyi-bussiness/src/main/resources/mapper/ModelWarningIndicatorDataMapper.xml +++ b/ruoyi-bussiness/src/main/resources/mapper/ModelWarningIndicatorDataMapper.xml @@ -84,25 +84,25 @@ LEFT JOIN model_warning_indicator b ON a.indicator_code = b.indicator_code - AND id = #{id} + AND a.id = #{id} - AND indicator_code = #{indicatorCode} + AND a.indicator_code = #{indicatorCode} - AND year = #{year} + AND a.year = #{year} - AND month = #{month} + AND a.month = #{month} - AND region_code = #{regionCode} + AND a.region_code = #{regionCode} - AND region_name LIKE '%'||#{regionName}||'%' + AND a.region_name LIKE '%'||#{regionName}||'%' - ORDER BY year DESC, month DESC, indicator_code + ORDER BY a.year DESC, a.month DESC, a.indicator_code