|
@@ -5832,6 +5832,12 @@ namespace OASystem.API.Controllers
|
|
|
{
|
|
|
try
|
|
|
{
|
|
|
+ #region 参数校验
|
|
|
+ if (dto.Currency <= 0) return Ok(JsonView(false, "币种错误!"));
|
|
|
+ var di = _sqlSugar.Queryable<Grp_DelegationInfo>().First(x => x.Id == dto.DiId && x.IsDel == 0);
|
|
|
+ if (di == null) return Ok(JsonView(false, "团组错误!"));
|
|
|
+ #endregion
|
|
|
+
|
|
|
Result groupData = await _carTouristGuideGroundRep.OpCarTouristGuideGroundContent(dto);
|
|
|
if (groupData.Code != 0)
|
|
|
{
|