1、文档中心权限调整
2、下载权限调整 3、消息中心 4、修复预览关闭窗口时视屏播放暂停不了问题
This commit is contained in:
@@ -53,6 +53,9 @@
|
||||
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
|
||||
AND date_format(td.create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
||||
</if>
|
||||
<if test="createById != null and createById != '' and permission != true">
|
||||
AND (td.create_by_id = #{createById} or td.doc_status = 'yfb')
|
||||
</if>
|
||||
and td.is_deleted = '0'
|
||||
</where>
|
||||
order by td.create_time desc
|
||||
|
||||
@@ -16,6 +16,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="toolCode" column="tool_code" />
|
||||
<result property="toolName" column="tool_name" />
|
||||
<result property="toolDownNum" column="tool_down_num" />
|
||||
<result property="nickName" column="nick_name" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectDownloadCountVo">
|
||||
@@ -95,7 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
<select id="userDownList" parameterType="DownloadCount" resultMap="DownloadCountResult">
|
||||
select
|
||||
tdc.tool_id,su.nick_name,t1.,sum(1) as tool_down_num
|
||||
tdc.tool_id,su.nick_name,tdc.create_time,sum(1) as tool_down_num
|
||||
from t_download_count tdc
|
||||
left join sys_user su on tdc.create_by_id = su.user_id
|
||||
<where>
|
||||
|
||||
@@ -104,7 +104,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
<select id="checkUseApply" resultType="int">
|
||||
SELECT count(*) FROM `t_use_apply_item` uai
|
||||
left join `t_use_apply` ua on uai.apply_id = ua.id
|
||||
left join `t_tool_apply` ua on uai.apply_id = ua.id
|
||||
WHERE ua.record_status = 'done'
|
||||
and uai.tool_id = #{toolId}
|
||||
and ua.user_id = #{userId}
|
||||
|
||||
Reference in New Issue
Block a user