leiy 1 年之前
父節點
當前提交
891a687140
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      OASystem/OASystem.Infrastructure/Repositories/Groups/DelegationInfoRepository.cs

+ 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);