You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
using DSWeb.Common.DB ;
using Newtonsoft.Json ;
using System ;
using System.Collections.Generic ;
using System.Linq ;
using System.Text ;
using System.Threading.Tasks ;
namespace DSWeb.Common.Helper
{
public class VgmFeedbackHelper
{
/// <summary>
/// 插入vgm( 捷丰) 反馈数据任务数据
/// </summary>
/// <param name="bsno"></param>
/// <param name="status"></param>
/// <param name="vgmLink"></param>
public static void FeedbackVgmJiefeng ( BookingDB bookingDB , string ordno , string bsno , string status , string vgmLink )
{
var feedbask = new OP_SEAE_ORDER_FEEDBACK ( ) ;
feedbask . GID = Guid . NewGuid ( ) . ToString ( ) ;
feedbask . ORDNO = ordno ;
feedbask . SEND_STATUS = OP_SEAE_ORDER_FEEDBACK . FeedbackStatusCreate ;
feedbask . TYPE = OP_SEAE_ORDER_FEEDBACK . FeedbackTypeVgmJiefeng ;
feedbask . CREATE_TIME = DateTime . Now ;
feedbask . DATA = JsonConvert . SerializeObject ( new
{
bsno = bsno ,
status = status ,
vgmLink = vgmLink
} ) ;
bookingDB . Feedbacks . Add ( feedbask ) ;
}
}
}