From 3f88a03a8f4faa8e1dce88296c771374c4f2bb4a Mon Sep 17 00:00:00 2001 From: dinggang <2498628697@qq.com> Date: Tue, 14 Jun 2022 09:32:40 +0800 Subject: [PATCH] =?UTF-8?q?sql=E8=AA=9E=E5=8F=A5=E9=8C=AF=E8=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- renren-admin/src/main/resources/mapper/resource/ResourceDao.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renren-admin/src/main/resources/mapper/resource/ResourceDao.xml b/renren-admin/src/main/resources/mapper/resource/ResourceDao.xml index 1bb9d670..d5ed07ac 100644 --- a/renren-admin/src/main/resources/mapper/resource/ResourceDao.xml +++ b/renren-admin/src/main/resources/mapper/resource/ResourceDao.xml @@ -463,7 +463,7 @@ SELECT ( CASE sd.type WHEN 1 THEN '省级' WHEN 2 THEN '市级' WHEN 3 THEN '区级' WHEN 4 THEN '企业' ELSE '其他' END ) AS "type", IFNULL( tdr.deptCount, 0) AS "deptCount", - IFNULL(sr.name, '暂无该地区') AS "districtName", + IFNULL(sr.name, '暂无该地区') AS "districtName" FROM sys_dept sd LEFT JOIN ( SELECT dept_id, COUNT( id ) AS "deptCount" FROM tb_data_resource