| 
					
				 | 
			
			
				@@ -345,6 +345,30 @@ namespace OASystem.API.Controllers 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return Ok(JsonView(groupData.Data)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /// <summary> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /// 分页查询团组列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /// </summary> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /// <param name="dto"></param> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /// <returns></returns> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        [HttpPost] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        [ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public async Task<IActionResult> QueryGroupListOffset(QueryGroupListOffsetDto dto) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            var watch = new Stopwatch(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            watch.Start(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            RefAsync<int> total = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            var countyDatas = await _sqlSugar.Queryable<Grp_DelegationInfo>() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                             .Where((di) => di.IsDel == 0 && !string.IsNullOrWhiteSpace(di.TeamName)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                             .WhereIF(!string.IsNullOrEmpty(dto.Search), (di) => di.TeamName.Contains(dto.Search)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                             .OrderBy((di) => new { id = SqlFunc.Desc(di.Id) }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                             .Select((di) => new { id = di.Id, name = di.TeamName }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                             .Distinct() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                             .ToPageListAsync(dto.PageIndex, dto.PageSize, total); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            watch.Stop(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return Ok(JsonView(true, $"{MsgTips.Succeed},耗时 {watch.ElapsedMilliseconds} ms", countyDatas, total)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         /// <summary> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ///  接团信息列表 Page 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         /// </summary> 
			 |