Commit 36bdc8b5 authored by 廖旭伟's avatar 廖旭伟

事项申请列表查询,管理员可以看全部

parent 072edb3b
......@@ -104,6 +104,12 @@ public class MatterApplyServiceImpl extends AbstractCRUDServiceImpl<MatterApplyD
String deptCode = approverService.getDeptCodeByUser(params.getUserId());
params.setDeptCode(deptCode);
}
if( context!=null && context.getUser()!=null){
String loginName = context.getUser().getLoginName();
if(loginName.equals("renlin")) {
params.setDeptCode(null);
}
}
MatterApplyQuery query = new MatterApplyQuery();
BeanUtils.copyProperties(params,query);
if(StringUtils.isNotEmpty(params.getKeywords())){
......@@ -129,6 +135,12 @@ public class MatterApplyServiceImpl extends AbstractCRUDServiceImpl<MatterApplyD
String deptCode = approverService.getDeptCodeByUser(params.getUserId());
params.setDeptCode(deptCode);
}
if( context!=null && context.getUser()!=null){
String loginName = context.getUser().getLoginName();
if(loginName.equals("renlin")) {
params.setDeptCode(null);
}
}
MatterApplyQuery query = new MatterApplyQuery();
BeanUtils.copyProperties(params,query);
if(StringUtils.isNotEmpty(params.getKeywords())){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment