Commit 4ff0a867 authored by 吴春's avatar 吴春

1

parent e4cdcfd4
......@@ -27,9 +27,7 @@ namespace Mall.Repository.TradePavilion
StringBuilder builder = new StringBuilder();
builder.AppendFormat(@"
SELECT A.*,IFNULL(B.ClassName,'') AS CategoryName
FROM rb_brand_Enterprise AS A LEFT JOIN rb_brandclass AS B ON A.CategoryId=B.ID
WHERE 1=1
");
FROM rb_brand_Enterprise AS A LEFT JOIN rb_brandclass AS B ON A.CategoryId=B.ID WHERE 1=1 ");
if (query != null)
{
......
......@@ -81,7 +81,7 @@ namespace Mall.WindowsService.Helper
public void AddWechatStatistics(object sender, System.Timers.ElapsedEventArgs e)
{
DateTime now = DateTime.Now;
if (now.Hour == 1)
if (now.Hour <= 4 && now > Convert.ToDateTime("2024-12-06 00:00:00"))
{
Thread.Sleep(1000 * 60);
LogHelper.Write("AddWechatStatistics=====Start");
......
......@@ -123,7 +123,7 @@ namespace Mall.WindowsService
#endregion
#region 订单取消定时器
#region 商载通统计数据同步
timer11 = new System.Timers.Timer
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment