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