|
@@ -14683,7 +14683,7 @@ FROM
|
|
|
// Grp_GroupCostParameter());
|
|
|
var GroupCostParameterMap = _mapper.Map<List<Grp_GroupCostParameterDto>>(GroupCostParameter);
|
|
|
|
|
|
- bool hotelIsTrue = _sqlSugar.Queryable<Grp_HotelInquiry>().Where(x => x.DiId == dto.Diid && x.IsDel == 0).Count() > 0;
|
|
|
+ bool hotelIsTrue = _sqlSugar.Queryable<Grp_HotelInquiry>().Where(x => x.DiId == diid && x.IsDel == 0).Count() > 0;
|
|
|
|
|
|
return Ok(JsonView(new
|
|
|
{
|
|
@@ -14700,7 +14700,7 @@ FROM
|
|
|
x.Id,
|
|
|
}).ToList(),
|
|
|
baoPi = _GroupCostParameterRepository.GetBaoPi(diid),
|
|
|
- blackCodeIsTrue = true , //create.Code == 0 ? true : false,
|
|
|
+ blackCodeIsTrue = _sqlSugar.Queryable<Air_TicketBlackCode>().Where(x=>x.IsDel == 0 && x.DiId == diid).Any() , //create.Code == 0 ? true : false,
|
|
|
hotelIsTrue = hotelIsTrue,
|
|
|
}));
|
|
|
}
|