From eb6544a5d562e23e29df6ffa32a6a3d3a76671ef Mon Sep 17 00:00:00 2001 From: du <1725534722@qq.com> Date: Wed, 24 Jul 2024 15:12:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9mapper=E5=B9=B4=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/jjh/ent/JDataScreenMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/resources/mapper/jjh/ent/JDataScreenMapper.xml b/ruoyi-admin/src/main/resources/mapper/jjh/ent/JDataScreenMapper.xml index 8cda1dd..7263761 100644 --- a/ruoyi-admin/src/main/resources/mapper/jjh/ent/JDataScreenMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/jjh/ent/JDataScreenMapper.xml @@ -44,7 +44,7 @@ COUNT(*) AS count FROM j_project ns WHERE YEAR( - NOW()) = YEAR(ns.project_year) + NOW()) = ns.project_year GROUP BY ns.project_small_type) AS ns ON c.dict_value = ns.project_small_type WHERE a.dict_type = 'project_categories' ORDER BY CAST(c.dict_value AS UNSIGNED);