| 
					
				 | 
			
			
				@@ -39,7 +39,45 @@ public class FsTodoItemsServiceImpl implements FsTodoItemsService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public FsTodoItems getById(Long id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return fsTodoItemsMapper.selectById(id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        FsTodoItems fsTodoItem = fsTodoItemsMapper.selectById(id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(ObjectUtils.isNotNull(fsTodoItem.getStatus())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            String todoItemType = DictUtils.getDictLabel("todo_item_status", String.valueOf(fsTodoItem.getStatus())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(StringUtils.isNotBlank(todoItemType)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                fsTodoItem.setStatusText(todoItemType); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(ObjectUtils.isNotNull(fsTodoItem.getPriority())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            String priority = DictUtils.getDictLabel("todo_priority", String.valueOf(fsTodoItem.getPriority())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(StringUtils.isNotBlank(priority)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                fsTodoItem.setPriorityText(priority); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(ObjectUtils.isNotNull(fsTodoItem.getCateId())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            String cateText = DictUtils.getDictLabel("todo_item_type", String.valueOf(fsTodoItem.getCateId())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(StringUtils.isNotBlank(cateText)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                fsTodoItem.setCateText(cateText); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 执行者 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(ObjectUtils.isNotNull(fsTodoItem.getAssigneeId())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            String executorName = companyUserCacheService.selectCompanyUserNameUserById(fsTodoItem.getAssigneeId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(StringUtils.isNotBlank(executorName)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                fsTodoItem.setAssigneeName(executorName); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 分配人 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(ObjectUtils.isNotNull(fsTodoItem.getCreatorId())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            String creatorName = sysUserMapper.selectUserNameByUserId(fsTodoItem.getCreatorId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(StringUtils.isNotBlank(creatorName)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                fsTodoItem.setCreatorName(creatorName); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return fsTodoItem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 |