|
@@ -2104,7 +2104,8 @@ namespace OASystem.API.Controllers
|
|
|
{
|
|
|
if (_hotelSubIds.Count > 1)
|
|
|
{
|
|
|
- _groupIds = _sqlSugar.Queryable<Grp_HotelReservationsContent>().Where(it => _hotelSubIds.Contains(it.Id)).Select(it => it.DiId).Distinct().ToList();
|
|
|
+ var hrIds = _sqlSugar.Queryable<Grp_HotelReservationsContent>().Where(it => _hotelSubIds.Contains(it.Id)).Select(it => it.HrId).Distinct().ToList();
|
|
|
+ _groupIds = _sqlSugar.Queryable<Grp_CreditCardPayment>().Where(it => it.CTable == 76 && hrIds.Contains(it.CId)).Select(it => it.Id).ToList();
|
|
|
}
|
|
|
|
|
|
if (_groupIds.Count < 1)
|