|
@@ -731,14 +731,14 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
string time = DateTime.Now.ToString("yyyy-MM-dd HH:mm ss");
|
|
string time = DateTime.Now.ToString("yyyy-MM-dd HH:mm ss");
|
|
|
|
|
|
var ids = carTouristList.Select(x1 => x1.Id);
|
|
var ids = carTouristList.Select(x1 => x1.Id);
|
|
- _ = _sqlSugar.Updateable<Grp_CarTouristGuideGroundReservationsContent>().Where(x => x.DiId == dto.DiId).SetColumns(x => new Grp_CarTouristGuideGroundReservationsContent
|
|
|
|
|
|
+ _ = _sqlSugar.Updateable<Grp_CarTouristGuideGroundReservationsContent>().Where(x => x.DiId == dto.DiId && x.CTGGRId == dto.CTGGRId).SetColumns(x => new Grp_CarTouristGuideGroundReservationsContent
|
|
{
|
|
{
|
|
IsDel = 1,
|
|
IsDel = 1,
|
|
DeleteTime = time ,
|
|
DeleteTime = time ,
|
|
DeleteUserId = dto.CreateUserId,
|
|
DeleteUserId = dto.CreateUserId,
|
|
}) .ExecuteCommand();
|
|
}) .ExecuteCommand();
|
|
|
|
|
|
- _ = _sqlSugar.Updateable<Grp_CarTouristGuideGroundReservationsContent>().Where(x => x.DiId == dto.DiId && ids.Contains(x.Id)).SetColumns(x => new Grp_CarTouristGuideGroundReservationsContent
|
|
|
|
|
|
+ _ = _sqlSugar.Updateable<Grp_CarTouristGuideGroundReservationsContent>().Where(x => x.DiId == dto.DiId && x.CTGGRId == dto.CTGGRId && ids.Contains(x.Id)).SetColumns(x => new Grp_CarTouristGuideGroundReservationsContent
|
|
{
|
|
{
|
|
IsDel = 0,
|
|
IsDel = 0,
|
|
DeleteTime = "",
|
|
DeleteTime = "",
|