|
@@ -69,20 +69,18 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
var data = await _sqlSugar.SqlQueryable<VisaFeeInfosView>(sql).ToListAsync();
|
|
|
|
|
|
//默认十行 雷怡 2024-26-08 11:26:40
|
|
|
-
|
|
|
if (data.Count == 0)
|
|
|
{
|
|
|
var groupInfo = await _groupRep.PostShareGroupInfo(new ShareGroupInfoDto() { PortType = 1, Id = diId });
|
|
|
List<string> countrys = new List<string>();
|
|
|
- if (groupInfo.Code == 0)
|
|
|
+ if (groupInfo.Code == 200)
|
|
|
{
|
|
|
countrys = _groupRep.GroupSplitCountry((groupInfo.Data as Web_ShareGroupInfoView)?.VisitCountry ?? "");
|
|
|
}
|
|
|
|
|
|
- if (countrys.Count > 0)
|
|
|
+ if (countrys.Any())
|
|
|
{
|
|
|
//int dataRow = 0;
|
|
|
-
|
|
|
foreach (var country in countrys)
|
|
|
{
|
|
|
var countryInfo = _sqlSugar.Queryable<Res_CountryFeeCost>().Where(it => it.IsDel == 0 && it.VisaCountry.Equals(country)).First();
|