|
@@ -45,7 +45,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
Grp_CarTouristGuideGroundReservations grp_CarTouristGuide = _mapper.Map<Grp_CarTouristGuideGroundReservations>(dto);
|
|
|
if (dto.Status == 1)//添加
|
|
|
{
|
|
|
- Grp_CarTouristGuideGroundReservations grp_CarTouristGuideGround = _sqlSugar.Queryable<Grp_CarTouristGuideGroundReservations>().First(a => a.IsDel == 0 && a.Area == dto.Area && a.BusName == dto.BusName && a.ServiceGuide == dto.ServiceGuide && a.DiId == dto.DiId && a.BusTel == dto.BusTel && a.ServiceTel == dto.ServiceTel);
|
|
|
+ Grp_CarTouristGuideGroundReservations grp_CarTouristGuideGround = _sqlSugar.Queryable<Grp_CarTouristGuideGroundReservations>().First(a => a.IsDel == 0 && a.Area == dto.Area && a.BusName == dto.BusName && a.ServiceGuide == dto.ServiceGuide && a.DiId == dto.DiId && a.BusTel == dto.BusTel && a.ServiceTel == dto.ServiceTel && a.PriceName == dto.PriceName);
|
|
|
if (grp_CarTouristGuideGround != null)
|
|
|
{
|
|
|
return result = new Result() { Code = -1, Msg = "该笔费用已存在,请勿重复添加!" };
|
|
@@ -85,6 +85,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
OrbitalPrivateTransfer = grp_CarTouristGuide.OrbitalPrivateTransfer,
|
|
|
Remark = grp_CarTouristGuide.Remark,
|
|
|
PriceType = grp_CarTouristGuide.PriceType,
|
|
|
+ PriceName = grp_CarTouristGuide.PriceName,
|
|
|
});
|
|
|
if (res)
|
|
|
{
|