From 347961cbd204ce9abddb167fb9ccc55a0680d2ec Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 19 Sep 2022 11:49:06 +0800 Subject: [PATCH] ... --- 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 d018e2f4..717016d2 100644 --- a/renren-admin/src/main/resources/mapper/resource/ResourceDao.xml +++ b/renren-admin/src/main/resources/mapper/resource/ResourceDao.xml @@ -1552,7 +1552,7 @@ sd.sort AS "deptSort", sd.type AS "deptType", sr.sort AS "regionSort", - tdr.visitor + IFNULL( tdr.visitor, 0 ) AS visitor FROM tb_data_resource tdr LEFT JOIN sys_dept sd ON tdr.dept_id = sd.id