|
@@ -300,7 +300,7 @@ namespace OASystem.API.Controllers
|
|
|
.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, di.ClientName , di.VisitPNumber , di.VisitCountry, di.VisitDays, di.VisitStartDate , di.VisitEndDate })
|
|
|
+ .Select((di) => new { id = di.Id, name = di.TeamName, di.ClientName , di.VisitPNumber , di.VisitCountry, di.VisitDays, di.VisitStartDate , di.VisitEndDate, di.TourCode })
|
|
|
.Distinct()
|
|
|
.ToPageListAsync(dto.PageIndex, dto.PageSize, total);
|
|
|
watch.Stop();
|