|
@@ -25,12 +25,14 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
private readonly IMapper _mapper;
|
|
|
private readonly Result _result;
|
|
|
private readonly TeamRateRepository _teamRateRep;
|
|
|
- public HotelPriceRepository(SqlSugarClient sqlSugar, IMapper mapper, TeamRateRepository teamRateRep) :
|
|
|
- base(sqlSugar)
|
|
|
+ private readonly TourClientListRepository _tourClientListRep;
|
|
|
+ public HotelPriceRepository(SqlSugarClient sqlSugar, IMapper mapper, TeamRateRepository teamRateRep, TourClientListRepository tourClientListRep)
|
|
|
+ :base(sqlSugar)
|
|
|
{
|
|
|
this._mapper = mapper;
|
|
|
_result = new Result() { Code = -1, Msg = "操作失败!" };
|
|
|
_teamRateRep = teamRateRep;
|
|
|
+ _tourClientListRep = tourClientListRep;
|
|
|
}
|
|
|
|
|
|
#region 保留
|
|
@@ -793,6 +795,9 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
_CheckVolumeNo = checkVoumeNoData.Result.Data;
|
|
|
}
|
|
|
|
|
|
+ //客户名单
|
|
|
+ var guestNames = await _tourClientListRep._GuestNameItemByDiId(portType, diId);
|
|
|
+
|
|
|
var data = new
|
|
|
{
|
|
|
GuestType = _GuestType, //客人分类
|
|
@@ -801,7 +806,8 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
BankCard = _BankCard,
|
|
|
BookingWebsite = _BookingWebsite,
|
|
|
CheckPerson = _CheckPerson,
|
|
|
- CheckVolumeNo = _CheckVolumeNo
|
|
|
+ CheckVolumeNo = _CheckVolumeNo,
|
|
|
+ GuestName = guestNames
|
|
|
};
|
|
|
|
|
|
_result.Code = 0;
|