瀏覽代碼

报价文件下载条件增加

yuanrf 1 周之前
父節點
當前提交
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, "团组成本不存在!"));
             }