Merge branch 'version_performance_2.0' of http://gitlab.ldxinyong.com/enterpriseManagement/lz_management into version_performance_2.0
This commit is contained in:
commit
b93f66c56c
@ -720,7 +720,7 @@ public class DingtalkBusiness {
|
||||
if (token != null && token.length() > 0) {
|
||||
|
||||
StaffSimpleInfo fromStaffSimpleInfo = staffService.selectStaffSimpleInfo(taskProcessRecord.getStaffId());
|
||||
if (taskProcessRecord.getStaffId().longValue() != resultDetail.getId().longValue()) {
|
||||
if (taskProcessRecord.getStaffId().longValue() != resultDetail.getStaffId().longValue()) {
|
||||
//自己评论自己的不允许给自己发消息
|
||||
StaffSimpleInfo toStaffSimpleInfo = staffService.selectStaffSimpleInfo(resultDetail.getStaffId());
|
||||
|
||||
|
||||
@ -35,7 +35,7 @@ public class ShiroServiceImpl implements ShiroService {
|
||||
public Set<String> getUserPermissions(SysUserEntity user) {
|
||||
List<String> permsList = null;
|
||||
//系统管理员,拥有最高权限
|
||||
if(user.getUserId() == Constant.SUPER_ADMIN || user.getType() == 1){
|
||||
if(user.getUserId() == Constant.SUPER_ADMIN ){
|
||||
List<SysMenuEntity> menuList = sysMenuDao.selectList(null);
|
||||
permsList = new ArrayList<>(menuList.size());
|
||||
for(SysMenuEntity menu : menuList){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user