소스 검색

报价文件下载条件增加

yuanrf 2 달 전
부모
커밋
f70a7be342
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      OASystem/OASystem.Api/Controllers/GroupsController.cs

+ 2 - 2
OASystem/OASystem.Api/Controllers/GroupsController.cs

@@ -17979,7 +17979,7 @@ ORDER by  gctggrc.id DESC
             }
 
             var mainPrice = _GroupCostParameterRepository.GetGroupCostParameterMainByDiid(dto.Diid);
-            if (mainPrice == null)
+            if (mainPrice == null || mainPrice.IsShare == 0)
             {
                 return Ok(JsonView(false, "团组成本不存在!"));
             }
@@ -18284,7 +18284,7 @@ AirHotelPrice
             }
 
             var mainPrice = _GroupCostParameterRepository.GetGroupCostParameterMainByDiid(dto.Diid);
-            if (mainPrice == null)
+            if (mainPrice == null || mainPrice.IsShare == 0)
             {
                 return Ok(JsonView(false, "团组成本不存在!"));
             }