|
@@ -1070,7 +1070,8 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
foreach (var item in carTouristList)
|
|
|
{
|
|
|
|
|
|
- Grp_CarTouristGuideGroundReservationsContent QueryData = _sqlSugar.Queryable<Grp_CarTouristGuideGroundReservationsContent>().First(a => a.SId == item.SId && a.Id == item.Id && a.DiId == item.DiId && a.IsDel == 0);
|
|
|
+ Grp_CarTouristGuideGroundReservationsContent QueryData = _sqlSugar.Queryable<Grp_CarTouristGuideGroundReservationsContent>().First(a => a.SId == item.SId && a.Id == item.Id && a.DiId == item.DiId
|
|
|
+ && a.CTGGRId == dto.CTGGRId && a.IsDel == 0);
|
|
|
if (QueryData == null)
|
|
|
{
|
|
|
int id = await _sqlSugar.Insertable(item).ExecuteReturnIdentityAsync();
|