提交 e191da30 authored 作者: 吕本才's avatar 吕本才

1、默认文件夹下 关联不到数据问题修改

上级 50d2bfab
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
jr.type as category ,jrc.name as categoryName, jr.type as category ,jrc.name as categoryName,
jr.create_by as createBy,jr.create_time as createTime jr.create_by as createBy,jr.create_time as createTime
from jimu_report jr from jimu_report jr
inner join jimu_report_category jrc on jr.type = jrc.id left join jimu_report_category jrc on jr.type = jrc.id
<where> <where>
jr.del_flag =0 jr.del_flag =0
<if test="userName != null and userName != ''"> <if test="userName != null and userName != ''">
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
jr.type as category ,jrc.name as categoryName, jr.type as category ,jrc.name as categoryName,
jr.create_by as createBy,jr.create_time as createTime jr.create_by as createBy,jr.create_time as createTime
from jimu_report jr from jimu_report jr
inner join jimu_report_category jrc on jr.type = jrc.id left join jimu_report_category jrc on jr.type = jrc.id
inner join jimu_report_auth jra on jr.id = jra.report_id inner join jimu_report_auth jra on jr.id = jra.report_id
<where> <where>
<!-- 分配给当前登录人的数据 --> <!-- 分配给当前登录人的数据 -->
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
jr.type as category ,jrc.name as categoryName, jr.type as category ,jrc.name as categoryName,
jr.create_by as createBy,jr.create_time as createTime jr.create_by as createBy,jr.create_time as createTime
from jimu_report jr from jimu_report jr
inner join jimu_report_category jrc on jr.type = jrc.id left join jimu_report_category jrc on jr.type = jrc.id
<where> <where>
jr.del_flag =0 jr.del_flag =0
<if test="categoryName != null and categoryName != ''"> <if test="categoryName != null and categoryName != ''">
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
jr.type as category ,jrc.name as categoryName, jr.type as category ,jrc.name as categoryName,
jr.create_by as createBy,jr.create_time as createTime jr.create_by as createBy,jr.create_time as createTime
from jimu_report jr from jimu_report jr
inner join jimu_report_category jrc on jr.type = jrc.id left join jimu_report_category jrc on jr.type = jrc.id
inner join jimu_report_auth jra on jr.id = jra.report_id inner join jimu_report_auth jra on jr.id = jra.report_id
<where> <where>
<!-- 分配给当前登录人的数据 --> <!-- 分配给当前登录人的数据 -->
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论