|  | @@ -226,7 +226,8 @@ ProjectsDAO.prototype.isExist = async function(name, parentID) {
 | 
	
		
			
				|  |  |      if (name === '' || isNaN(parentID)) {
 | 
	
		
			
				|  |  |          return true;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | -    let count = await Projects.count({ParentID: parentID, name: name});
 | 
	
		
			
				|  |  | +    let condition = {ParentID: parentID, name: name, "$or":[{deleteInfo: null}, {"deleteInfo.deleted": false}]};
 | 
	
		
			
				|  |  | +    let count = await Projects.count(condition);
 | 
	
		
			
				|  |  |      return count > 0;
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  
 |