ソースを参照

酒店预订接口相关更改

leiy 10 ヶ月 前
コミット
c0a214d147

+ 5 - 0
OASystem/OASystem.Api/Controllers/FinancialController.cs

@@ -2102,6 +2102,11 @@ namespace OASystem.API.Controllers
 
             if (status == 2)
             {
+                if (_hotelSubIds.Count > 1)
+                {
+                    _groupIds = _sqlSugar.Queryable<Grp_HotelReservationsContent>().Where(it => _hotelSubIds.Contains(it.Id)).Select(it => it.DiId).Distinct().ToList();
+                }
+
                 if (_groupIds.Count < 1)
                 {
                     _DailyFeePaymentResult.dataList = new List<tree_Group_DailyFeePaymentPageListView>();

+ 1 - 3
OASystem/OASystem.Infrastructure/Repositories/Groups/HotelPriceRepository.cs

@@ -599,10 +599,8 @@ namespace OASystem.Infrastructure.Repositories.Groups
                                         })
                                         .WhereColumns(it => new { it.CTable, it.CId })
                                         .ExecuteCommandAsync();
-            
-
-
 
+            _sqlSugar.CommitTran();
             return new JsonView() { Code = 200, Msg = MsgTips.Succeed };
         }
     }