leiy 1 year ago
parent
commit
891a687140

+ 2 - 3
OASystem/OASystem.Infrastructure/Repositories/Groups/DelegationInfoRepository.cs

@@ -257,7 +257,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
         {
             Result result = new Result() { Code = -2, Msg = "未知错误" };
 
-            if (dto.PortType == 1 || dto.PortType == 2) //Web Or Android
+            if (dto.PortType == 1 || dto.PortType == 2 || dto.PortType == 3) //Web Or Android
             {
                 string sql = string.Format(@"Select Id,SalesQuoteNo,TourCode,JietuanOperator,TeamLevSId,TeamDid,TeamName,ClientName,
 	                                                ClientUnit,VisitCountry,VisitDate,VisitDays,VisitPNumber,TontractTime,
@@ -318,8 +318,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
 
                         result.Data = GroupProcessOperationDtoParam;
                     }
-
-                    if (dto.PortType == 3)
+                    else if (dto.PortType == 3)
                     {
                         var GroupProcessOperationDtoParam = new GroupProcessOperationDto();
                         GroupProcessOperationDtoParam = _mapper.Map<DelegationInfoWebView, GroupProcessOperationDto>(_DelegationInfo);