You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
haoliang-net/src/CncCollector/Core/DailySummaryJob.cs

25 lines
686 B
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using Dapper;
using MySqlConnector;
using CncModels.Enum;
using log4net;
namespace CncCollector.Core
{
public class DailySummaryJob
{
private static readonly ILog _log = LogManager.GetLogger(typeof(DailySummaryJob));
private readonly string _businessConnStr;
public DailySummaryJob(string businessConnStr)
{
_businessConnStr = businessConnStr;
}
public bool Execute(DateTime summaryDate)
{
_log.Info(string.Format("日终汇总已跳过新架构ProductionTracker直接写cnc_daily_production日期={0:yyyy-MM-dd}", summaryDate));
return true;
}
}
}