|
@@ -59,12 +59,14 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
var _DelegationInfo = await _sqlSugar.SqlQueryable<Web_ShareGroupInfoView>(sql).FirstAsync();
|
|
var _DelegationInfo = await _sqlSugar.SqlQueryable<Web_ShareGroupInfoView>(sql).FirstAsync();
|
|
if (_DelegationInfo != null)
|
|
if (_DelegationInfo != null)
|
|
{
|
|
{
|
|
- if (_DelegationInfo.VisitCountry.Contains("|"))
|
|
|
|
|
|
+ if (!string.IsNullOrEmpty(_DelegationInfo.VisitCountry))
|
|
{
|
|
{
|
|
- _DelegationInfo.VisitCountry = _DelegationInfo.VisitCountry.Replace("|", "、");
|
|
|
|
|
|
+ if (_DelegationInfo.VisitCountry.Contains("|"))
|
|
|
|
+ {
|
|
|
|
+ _DelegationInfo.VisitCountry = _DelegationInfo.VisitCountry.Replace("|", "、");
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
result.Data = _DelegationInfo;
|
|
result.Data = _DelegationInfo;
|
|
}
|
|
}
|
|
else result.Msg = "暂无该团组信息";
|
|
else result.Msg = "暂无该团组信息";
|
|
@@ -74,9 +76,12 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
var _DelegationInfo = await _sqlSugar.SqlQueryable<IOSOrAndroid_ShareGroupInfoView>(sql).FirstAsync();
|
|
var _DelegationInfo = await _sqlSugar.SqlQueryable<IOSOrAndroid_ShareGroupInfoView>(sql).FirstAsync();
|
|
if (_DelegationInfo != null)
|
|
if (_DelegationInfo != null)
|
|
{
|
|
{
|
|
- if (_DelegationInfo.VisitCountry.Contains("|"))
|
|
|
|
|
|
+ if (!string.IsNullOrEmpty(_DelegationInfo.VisitCountry))
|
|
{
|
|
{
|
|
- _DelegationInfo.VisitCountry = _DelegationInfo.VisitCountry.Replace("|", "、");
|
|
|
|
|
|
+ if (_DelegationInfo.VisitCountry.Contains("|"))
|
|
|
|
+ {
|
|
|
|
+ _DelegationInfo.VisitCountry = _DelegationInfo.VisitCountry.Replace("|", "、");
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
result.Data = _DelegationInfo;
|
|
result.Data = _DelegationInfo;
|