|
@@ -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, "团组成本不存在!"));
|
|
|
}
|