|
|
@@ -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", "监控头一天数据");
|
|
|
}
|
|
|
}
|
|
|
}
|