数据权限调整
This commit is contained in:
parent
7131d744a4
commit
5607c957fb
@ -103,7 +103,7 @@ public class DocumentServiceImpl implements IDocumentService
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
@Override
|
||||
@DataScope(deptAlias = "sd")
|
||||
@DataScope(deptAlias = "sd", userAlias = "su")
|
||||
public List<Document> selectDocumentList(Document document)
|
||||
{
|
||||
if (BooleanUtil.isTrue(document.getPermissionCheck())) {
|
||||
|
@ -40,6 +40,7 @@
|
||||
from t_document td
|
||||
left join t_tool on t_tool.tool_id = td.tool_id
|
||||
left join sys_dept sd on sd.dept_id = td.doc_resp_dept
|
||||
left join sys_user su on td.create_by_id = su.user_id
|
||||
<where>
|
||||
<if test="docCode != null and docCode != ''"> and td.doc_code like concat('%', #{docCode}, '%')</if>
|
||||
<if test="docName != null and docName != ''"> and td.doc_name like concat('%', #{docName}, '%')</if>
|
||||
|
Loading…
x
Reference in New Issue
Block a user