|
@@ -356,17 +356,34 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
//预订网站
|
|
|
List<Sys_SetData> BookingWebsite = _sqlSugar.Queryable<Sys_SetData>().Where(a => a.STid == 12 && a.IsDel == 0).ToList();
|
|
|
List<SetDataInfoView> _BookingWebsite = _mapper.Map<List<SetDataInfoView>>(BookingWebsite);
|
|
|
-
|
|
|
- var data = new
|
|
|
+
|
|
|
+ if (dto.PortType==2 || dto.PortType==3)
|
|
|
{
|
|
|
- Delegations = grp_Delegations,
|
|
|
- GuestType = _GuestType,
|
|
|
- Payment = _Payment,
|
|
|
- CurrencyList = _CurrencyList,
|
|
|
- BankCard = _BankCard,
|
|
|
- BookingWebsite = _BookingWebsite,
|
|
|
- };
|
|
|
- return result = new Result() { Code = 0, Msg = "查询成功",Data=data };
|
|
|
+ var data = new
|
|
|
+ {
|
|
|
+ GuestType = _GuestType,
|
|
|
+ Payment = _Payment,
|
|
|
+ CurrencyList = _CurrencyList,
|
|
|
+ BankCard = _BankCard,
|
|
|
+ BookingWebsite = _BookingWebsite,
|
|
|
+ };
|
|
|
+ return result = new Result() { Code = 0, Msg = "查询成功", Data = data };
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ var data = new
|
|
|
+ {
|
|
|
+ Delegations = grp_Delegations,
|
|
|
+ GuestType = _GuestType,
|
|
|
+ Payment = _Payment,
|
|
|
+ CurrencyList = _CurrencyList,
|
|
|
+ BankCard = _BankCard,
|
|
|
+ BookingWebsite = _BookingWebsite,
|
|
|
+ };
|
|
|
+ return result = new Result() { Code = 0, Msg = "查询成功", Data = data };
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|