| 
						
						
							
								
							
						
						
					 | 
					@ -164,19 +164,14 @@ public class ManualScoreServiceImpl extends BaseServiceImpl<ManualScoreDao, Manu | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        // 用户所选部门id
 | 
					 | 
					 | 
					        // 用户所选部门id
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        List<Long> dataScopeDeptList = new ArrayList<>(); | 
					 | 
					 | 
					        List<Long> dataScopeDeptList = new ArrayList<>(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					
 | 
					 | 
					 | 
					        if (!("".equals(params.get("deptId")))){ //根据选择部门 项导出模板
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            long deptId = Long.valueOf(params.get("deptId").toString()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            dataScopeDeptList.add(deptId); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } else { //根据默认数据权限导出模板
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            List<Long> deptIdList = SecurityUser.getUser().getDeptIdList(); //获取用户权限
 | 
					 | 
					 | 
					            List<Long> deptIdList = SecurityUser.getUser().getDeptIdList(); //获取用户权限
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            UserSysDeptInfoFormDTO userSysDeptInfoFormDTO = new UserSysDeptInfoFormDTO(); | 
					 | 
					 | 
					            UserSysDeptInfoFormDTO userSysDeptInfoFormDTO = new UserSysDeptInfoFormDTO(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            userSysDeptInfoFormDTO.setDeptIdList(deptIdList); | 
					 | 
					 | 
					            userSysDeptInfoFormDTO.setDeptIdList(deptIdList); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            Result<List<UserSysDeptInfoResultDTO>> deptTypeKeys =adminFeignClient.queryUserSysDeptTypeKey(userSysDeptInfoFormDTO); | 
					 | 
					 | 
					            Result<List<UserSysDeptInfoResultDTO>> deptTypeKeys =adminFeignClient.queryUserSysDeptTypeKey(userSysDeptInfoFormDTO); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (!("".equals(params.get("deptId")))){ //根据选择部门 项导出模板
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            for (int i = 0; i < deptTypeKeys.getData().size(); i++){ | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                if (deptType.equals(deptTypeKeys.getData().get(i).getTypeKey())){ | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    dataScopeDeptList.add(deptTypeKeys.getData().get(i).getId()); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                } | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } else { //根据默认数据权限导出模板
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            for (int i = 0; i < deptTypeKeys.getData().size(); i++){ | 
					 | 
					 | 
					            for (int i = 0; i < deptTypeKeys.getData().size(); i++){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                if (deptType.equals(deptTypeKeys.getData().get(i).getTypeKey())){ | 
					 | 
					 | 
					                if (deptType.equals(deptTypeKeys.getData().get(i).getTypeKey())){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    dataScopeDeptList.add(deptTypeKeys.getData().get(i).getId()); | 
					 | 
					 | 
					                    dataScopeDeptList.add(deptTypeKeys.getData().get(i).getId()); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |