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.

38 lines
1.2 KiB
C#

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);
}
}
}