Browse Source

接收电渠数据判断100套餐条件

lcl 1 year ago
parent
commit
547b4a2240
1 changed files with 3 additions and 2 deletions
  1. 3 2
      AppStart/Service/SycnSpBindService.cs

+ 3 - 2
AppStart/Service/SycnSpBindService.cs

@@ -22,8 +22,9 @@ namespace MySystem
                 WebCMSEntities spdb = new WebCMSEntities();
                 WebCMSEntities spdb = new WebCMSEntities();
 
 
                 //{"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":"山东省"}
                 //{"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":"山东省"}
+                //{"activationStatusName":"已激活","activationTime":"2024-07-08 17:33:05","city":"茂名市","initialChargeAmount":10000,"orderCreateTime":"2024-06-19 13:24:10","phoneNo":"19272097639","posSn":"CS00000000001607","productName":"升龙卡","promotionName":"升龙卡","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 + "\",\"PosSn\":\"" + Bind.posSn + "\"}";
+                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.initialChargeAmount + "\",\"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()
                 spdb.BindRecord.Add(new SpModels.BindRecord()
                 {
                 {
@@ -41,7 +42,7 @@ namespace MySystem
                     Field3 = Bind.productName,
                     Field3 = Bind.productName,
                     Field4 = Bind.jobId,
                     Field4 = Bind.jobId,
                     Field5 = Bind.activationStatusName,
                     Field5 = Bind.activationStatusName,
-                    SeoTitle = Bind.paidInAmount.ToString("f2"),
+                    SeoTitle = Bind.initialChargeAmount.ToString("f2"),
                     SeoKeyword = Bind.activationTime,
                     SeoKeyword = Bind.activationTime,
                     SeoDescription = json,
                     SeoDescription = json,
                     ProductType = "14",
                     ProductType = "14",