|
@@ -235,72 +235,6 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
|
|
|
if (dto.PortType == 1)
|
|
|
{
|
|
|
-
|
|
|
- #region 团组汇率 - 详细汇率信息
|
|
|
-
|
|
|
-
|
|
|
- //List<TeamRateModelView> teamRateModels = new List<TeamRateModelView>();
|
|
|
-
|
|
|
- //List<SetDataInfoView> otherCurrencyData1 = new List<SetDataInfoView>();
|
|
|
- //var otherCurrencyData = await _setDataRep.GetSetDataBySTId(_setDataRep, 13);
|
|
|
- //if (otherCurrencyData.Code == 0 && otherCurrencyData.Data != null)
|
|
|
- //{
|
|
|
- // string otherCurrencyStr = JsonConvert.SerializeObject(otherCurrencyData.Data);
|
|
|
- // otherCurrencyData1 = JsonConvert.DeserializeObject<List<SetDataInfoView>>(otherCurrencyStr);
|
|
|
- // //var otherCurrency = otherCurrencyData1
|
|
|
- //}
|
|
|
- //foreach (TeamRateInfoView item in teamRateInfo)
|
|
|
- //{
|
|
|
- // TeamRateModelView teamRateModelInfo = new TeamRateModelView();
|
|
|
- // foreach (TeamRateInfoView item1 in teamRateInfo)
|
|
|
- // {
|
|
|
- // if (item.CTable == item1.CTable)
|
|
|
- // {
|
|
|
- // teamRateModelInfo.CTableId = item1.CTable;
|
|
|
- // teamRateModelInfo.CTableName = item1.Name;
|
|
|
- // List<TeamRateDescView> teamRateDescViews = new List<TeamRateDescView>();
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "美元", CurrencyCode = "USD", Rate = item1.RateU });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "欧元", CurrencyCode = "EUR", Rate = item1.RateE });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "日元", CurrencyCode = "JPY", Rate = item1.RateJ });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "港币", CurrencyCode = "HKD", Rate = item1.RateH });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "新西兰元", CurrencyCode = "NZD", Rate = item1.RateN });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "新加坡币", CurrencyCode = "SGD", Rate = item1.RateS });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "澳大利亚元", CurrencyCode = "AUD", Rate = item1.RateA });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "加拿大元", CurrencyCode = "CAD", Rate = item1.RateC });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "泰国铢", CurrencyCode = "THB", Rate = item1.RateT });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "波兰兹罗提", CurrencyCode = "PLN", Rate = item1.RateBL });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "韩国元", CurrencyCode = "KRW", Rate = item1.RateHB });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "斐济元", CurrencyCode = "FJD", Rate = item1.RateFJD });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "土耳其里拉", CurrencyCode = "TRY", Rate = item1.RateTL });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "印度尼西亚卢比", CurrencyCode = "IDR", Rate = item1.RateRP });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "菲律宾比索", CurrencyCode = "PHP", Rate = item1.RatePeso });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "林吉特", CurrencyCode = "MYR", Rate = item1.RateMYR });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "捷克货币", CurrencyCode = "CZK", Rate = item1.RateCZK });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "墨西哥比索", CurrencyCode = "MXN", Rate = item1.RateMXN });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "澳门元", CurrencyCode = "MOP", Rate = item1.RateMOP });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "阿根廷比索", CurrencyCode = "ARS", Rate = item1.RateARS });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "匈牙利福林", CurrencyCode = "HUF", Rate = item1.RateHUF });
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = "卢布", CurrencyCode = "RUB", Rate = item1.RateRUB });
|
|
|
-
|
|
|
- // SetDataInfoView setData = otherCurrencyData1.Where(x => x.Id == item1.OtherRateId).FirstOrDefault();
|
|
|
- // if (setData != null)
|
|
|
- // {
|
|
|
- // teamRateDescViews.Add(new TeamRateDescView() { CurrencyName = setData.Remark, CurrencyCode = setData.Name, Rate = item1.OtherPrice });
|
|
|
- // }
|
|
|
-
|
|
|
- // teamRateModelInfo.TeamRates = teamRateDescViews;
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- // }
|
|
|
- // }
|
|
|
- // teamRateModels.Add(teamRateModelInfo);
|
|
|
- //}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- #endregion
|
|
|
-
|
|
|
#region 团组汇率
|
|
|
|
|
|
List<TeamRateModelView> teamRateModels = new List<TeamRateModelView>();
|