浏览代码

应用报表查询显示访问次数

郭齐峰 3 年之前
父节点
当前提交
bd41031358
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/custom/restcontroller/system/report/SQL/应用报表查询.sql

+ 2 - 1
src/custom/restcontroller/system/report/SQL/应用报表查询.sql

@@ -1,7 +1,8 @@
 select t1.sys_reportid,
        t1.siteid,
        t2.type,
-       t2.name
+       t2.name,
+       t2.view_count
 from sys_report t1
          inner join jimureport.jimu_report t2 on t1.jimu_report_id = t2.id
 where (ifnull(t1.siteid, '') = '' or t1.siteid = $siteid$)