Commit acd3aa1d authored by 黄奎's avatar 黄奎

页面修改

parent 1d959cd9
......@@ -54,5 +54,10 @@ namespace Edu.Model.Entity.Course
/// 报名人数
/// </summary>
public int JoinNum { get; set; }
/// <summary>
/// 订单编号
/// </summary>
public int OrderId { get; set; }
}
}
......@@ -331,6 +331,12 @@ namespace Edu.Module.Course
CreateBy = offerModel.CreateBy,
CreateTime = DateTime.Now
});
//更新报价单详情表订单编号
Dictionary<string, object> offerdetailsFileds = new Dictionary<string, object>()
{
{nameof(RB_Course_OfferDetails_ViewModel.OrderId),OrderId },
};
flag= course_OfferDetailsRepository.Update(offerdetailsFileds, new WhereHelper(nameof(RB_Course_OfferDetails_ViewModel.DetailsId), item.DetailsId));
}
}
catch (Exception ex)
......@@ -343,7 +349,7 @@ namespace Edu.Module.Course
//更新报价单订单编号
Dictionary<string, object> offerFileds = new Dictionary<string, object>()
{
{nameof(RB_Course_Offer_ViewModel.OrderId),orderIds.Substring(1) },
{nameof(RB_Course_Offer_ViewModel.OrderId),orderIds[1..] },
{nameof(RB_Course_Offer_ViewModel.CustomerStatus),4 },
};
flag = course_OfferRepository.Update(offerFileds, new WhereHelper(nameof(RB_Course_Offer_ViewModel.Id), offerId));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment