Quellcode durchsuchen

团组报表
酒店预订 排序

leiy vor 11 Monaten
Ursprung
Commit
3d03754c38
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      OASystem/OASystem.Api/Controllers/StatisticsController.cs

+ 2 - 2
OASystem/OASystem.Api/Controllers/StatisticsController.cs

@@ -409,8 +409,8 @@ namespace OASystem.API.Controllers
                                                      Left Join Sys_SetData sd4 On hr.BreakfastCurrency = sd4.Id
                                                      Left Join Sys_SetData sd5 On hr.GovernmentRentCurrency = sd5.Id
                                                      Left Join Sys_SetData sd6 On hr.CityTaxCurrency = sd6.Id
-                                                     Where hr.IsDel = 0 And ccp.IsDel = 0 And ccp.CTable = 76 And ccp.IsAuditGM = 1 And ccp.IsPay = 1
-                                                     And hr.DiId = {0}", _dto.DiId);
+                                                     Where hr.IsDel = 0 And ccp.IsDel = 0 And ccp.CTable = 76 And ccp.IsAuditGM = 1 And ccp.IsPay = 1 And hr.DiId = {0} 
+                                                     Order By CheckInDate Asc", _dto.DiId);
 
                 groupHotelFeeViews = await _sqlSugar.SqlQueryable<GroupHotelFeeView>(hotelFeeSql).ToListAsync();