|
|
@@ -23,7 +23,7 @@ namespace MySystem
|
|
|
|
|
|
//{"activationStatusName":"已激活","activationTime":"04/27/2024 19:27:57","city":"滨州市","firstCharge":"否","iccId":"89861500152420011245","initialChargeAmount":0.00,"jobId":"VCH010203378","orderCreateTime":"04/27/2024 19:22:50","orderNo":"B20240427192249832266","orderStatus":"已完成","paidInAmount":100.00,"phoneNo":"19216292182","productName":"双百套餐","productTypeName":"基础套餐","province":"山东省"}
|
|
|
|
|
|
- string json = "{\"OrderNo\":\"" + Bind.orderNo + "\",\"CreateDate\":\"" + Bind.orderCreateTime + "\",\"PhoneNumber\":\"" + Bind.phoneNo + "\",\"HasFirstCharge\":\"" + Bind.firstCharge + "\",\"FirstChargeAmount\":\"0\",\"Province\":\"" + Bind.province + "\",\"City\":\"" + Bind.city + "\",\"ProductName\":\"" + Bind.productName + "\",\"ActiveName\":\"\",\"ProductType\":\"" + Bind.productTypeName + "\",\"ActualAmount\":\"" + Bind.paidInAmount + "\",\"OrderStatus\":\"" + Bind.orderStatus + "\",\"ActStatus\":\"" + Bind.activationStatusName + "\",\"ActDate\":\"" + Bind.activationTime + "\",\"WorkNo\":\"" + Bind.jobId + "\",\"AccountName\":\"\",\"SimNo\":\"" + Bind.iccId + "\"}";
|
|
|
+ string json = "{\"OrderNo\":\"" + Bind.orderNo + "\",\"CreateDate\":\"" + Bind.orderCreateTime + "\",\"PhoneNumber\":\"" + Bind.phoneNo + "\",\"HasFirstCharge\":\"" + Bind.firstCharge + "\",\"FirstChargeAmount\":\"0\",\"Province\":\"" + Bind.province + "\",\"City\":\"" + Bind.city + "\",\"ProductName\":\"" + Bind.productName + "\",\"ActiveName\":\"\",\"ProductType\":\"" + Bind.productTypeName + "\",\"ActualAmount\":\"" + Bind.paidInAmount + "\",\"OrderStatus\":\"" + Bind.orderStatus + "\",\"ActStatus\":\"" + Bind.activationStatusName + "\",\"ActDate\":\"" + Bind.activationTime + "\",\"WorkNo\":\"" + Bind.jobId + "\",\"AccountName\":\"\",\"SimNo\":\"" + Bind.iccId + "\",\"PosSn\":\"" + Bind.posSn + "\"}";
|
|
|
|
|
|
spdb.BindRecord.Add(new SpModels.BindRecord()
|
|
|
{
|
|
|
@@ -31,10 +31,11 @@ namespace MySystem
|
|
|
UpdateTime = DateTime.Parse(Bind.orderCreateTime), //机具绑定、解绑时间
|
|
|
CreateTime = DateTime.Parse(Bind.orderCreateTime), //商户操作时间
|
|
|
MerNewSnNo = Bind.phoneNo, //商户手机号
|
|
|
- MerSnNo = Bind.iccId, //序列号
|
|
|
+ MerSnNo = Bind.posSn, //序列号
|
|
|
MerName = Bind.phoneNo, //商户名称
|
|
|
MerNo = Bind.phoneNo, //商户编号
|
|
|
Remark = Bind.productTypeName,
|
|
|
+ AgentName = Bind.iccId,
|
|
|
Field1 = Bind.province,
|
|
|
// Field2 = sIMActInfo.ActiveName,
|
|
|
Field3 = Bind.productName,
|
|
|
@@ -49,7 +50,7 @@ namespace MySystem
|
|
|
|
|
|
spdb.Merchants.Add(new SpModels.Merchants()
|
|
|
{
|
|
|
- SnNo = Bind.iccId,
|
|
|
+ SnNo = Bind.posSn,
|
|
|
CreateTime = DateTime.Parse(Bind.orderCreateTime),
|
|
|
UpdateTime = DateTime.Parse(Bind.orderCreateTime),
|
|
|
AgentName = Bind.phoneNo,
|