lcl 2 kuukautta sitten
vanhempi
commit
fb1578c450
1 muutettua tiedostoa jossa 14 lisäystä ja 0 poistoa
  1. 14 0
      AppStart/HaoDa/GetHaoDaFTPInfoService.cs

+ 14 - 0
AppStart/HaoDa/GetHaoDaFTPInfoService.cs

@@ -151,6 +151,12 @@ namespace MySystem
                         {
                             if(IsRedis)
                             {
+                                var DataListInfo = DataListItem.Split(',');
+                                string ActDate = DataListInfo[3]; //激活时间
+                                if(ActDate == DateTime.Now.AddDays(-1).ToString("yyyyMMdd"))
+                                {
+                                    function.WriteLog(DataListItem, "监控头一天数据");
+                                }
                                 RedisDbconn.Instance.AddList("ListenDepositDataByOneQueue", DataListItem);
                             }
                             else
@@ -750,6 +756,14 @@ namespace MySystem
                         edit.DeviceKind = PosKind;
                         edit.DepositActCode = DepositActCode;
                         edit.MerNo = MerNo;
+                        if(ActDate == DateTime.Now.AddDays(-1).ToString("yyyyMMdd"))
+                        {
+                            function.WriteLog(content + "-update", "监控头一天数据");
+                        }
+                    }
+                    if(ActDate == DateTime.Now.AddDays(-1).ToString("yyyyMMdd"))
+                    {
+                        function.WriteLog(content + "-update-end", "监控头一天数据");
                     }
                 }
             }