|  | @@ -169,6 +169,9 @@ public class CoreEduTrainingPlanServiceImpl extends ServiceImpl<CoreEduTrainingP
 | 
	
		
			
				|  |  |              final Integer hasTask = coreEduTrainingTaskMapper.checkHasTaskByPlanParentId(record.getId());
 | 
	
		
			
				|  |  |              record.setHasTask(hasTask);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +        if (ObjectUtil.equal(record.getPlanCycle(),EduTrainingPlanCycleEnum.NONE.getCode())){
 | 
	
		
			
				|  |  | +            record.setDone(coreEduTrainingTaskMapper.selectDoneByPlanId(record.getId()));
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -191,8 +194,14 @@ public class CoreEduTrainingPlanServiceImpl extends ServiceImpl<CoreEduTrainingP
 | 
	
		
			
				|  |  |          final List<CoreEduTrainingPlanToRole> planToRoles = coreEduTrainingPlanToRoleMapper.selectByMap(MapUtil.of("plan_id", id));
 | 
	
		
			
				|  |  |          final List<Long> execRoleIdList = planToRoles.stream().map(CoreEduTrainingPlanToRole::getRoleId).collect(Collectors.toList());
 | 
	
		
			
				|  |  |          vo.setPlanRoleId(ObjectUtil.isEmpty(execRoleIdList) ? null : execRoleIdList);
 | 
	
		
			
				|  |  | -        Integer done = coreEduTrainingTaskMapper.checkHasTaskIsDoneByPlanIdOrParentId(id);
 | 
	
		
			
				|  |  | -        vo.setDone(done);
 | 
	
		
			
				|  |  | +        if (plan.getStandard() == 1) {
 | 
	
		
			
				|  |  | +            //是否存在已完成的任务
 | 
	
		
			
				|  |  | +            final Integer done = coreEduTrainingTaskMapper.checkHasTaskIsDoneByPlanParentId(plan.getId());
 | 
	
		
			
				|  |  | +            vo.setDone(done);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        if (ObjectUtil.equal(plan.getPlanCycle(),EduTrainingPlanCycleEnum.NONE.getCode())){
 | 
	
		
			
				|  |  | +            vo.setDone(coreEduTrainingTaskMapper.selectDoneByPlanId(plan.getId()));
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |          return vo;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 |