Commit c87cefe1 by guanzhenshan

更新平台余额

parent 749e3034
...@@ -11,23 +11,23 @@ namespace Bailun.DC.DailyPlatformAccountBalance ...@@ -11,23 +11,23 @@ namespace Bailun.DC.DailyPlatformAccountBalance
/// </summary> /// </summary>
class Program class Program
{ {
//static async Task Main(string[] args) static async Task Main(string[] args)
//{
// Console.WriteLine("启动服务 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
// var builder = new HostBuilder().ConfigureServices((hostContext, services) =>
// {
// services.AddHostedService<Services>();
// });
// await builder.RunConsoleAsync();
//}
static void Main(string[] args)
{ {
var _services = new Services(); Console.WriteLine("启动服务 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
var builder = new HostBuilder().ConfigureServices((hostContext, services) =>
{
services.AddHostedService<Services>();
});
_services.Init(DateTime.Parse("2020-01-01"), DateTime.Parse("2020-08-01 15:30")); await builder.RunConsoleAsync();
_services.UpdateBalanceSheet(DateTime.Now.AddDays(-1));
} }
//static void Main(string[] args)
//{
// var _services = new Services();
// _services.Init(DateTime.Parse("2020-01-01"), DateTime.Parse("2020-08-01 15:30"));
// _services.UpdateBalanceSheet(DateTime.Now.AddDays(-1));
//}
} }
} }
...@@ -34,7 +34,7 @@ namespace Bailun.DC.DailyPlatformAccountBalance ...@@ -34,7 +34,7 @@ namespace Bailun.DC.DailyPlatformAccountBalance
{ {
Console.WriteLine("开始启动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); Console.WriteLine("开始启动 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
var end = DateTime.Now; var end = DateTime.Now;
var start = DateTime.Parse("2020-06-20"); var start = DateTime.Parse("2020-01-01");
Init(start,end); Init(start,end);
......
...@@ -47,9 +47,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bailun.DC.MonthSalePutin", ...@@ -47,9 +47,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bailun.DC.MonthSalePutin",
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bailun.DC.DailyLogisticSupplierTransaction", "Bailun.DC.DailyLogisticSupplierTransaction\Bailun.DC.DailyLogisticSupplierTransaction.csproj", "{5163B1E9-43F8-4E5A-B4A9-546F5375515E}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bailun.DC.DailyLogisticSupplierTransaction", "Bailun.DC.DailyLogisticSupplierTransaction\Bailun.DC.DailyLogisticSupplierTransaction.csproj", "{5163B1E9-43F8-4E5A-B4A9-546F5375515E}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bailun.DC.DailySelfProducePurchaseDeliver", "Bailun.DC.DailySelfProduceDeliver\Bailun.DC.DailySelfProducePurchaseDeliver.csproj", "{A8E6DCD5-9F45-41D3-9297-FB104772B11C}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bailun.DC.DailySelfProducePurchaseDeliver", "Bailun.DC.DailySelfProduceDeliver\Bailun.DC.DailySelfProducePurchaseDeliver.csproj", "{A8E6DCD5-9F45-41D3-9297-FB104772B11C}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bailun.DC.DailyPlatformAccountBalance", "Bailun.DC.DailyPlatformAccountBalance\Bailun.DC.DailyPlatformAccountBalance.csproj", "{7EA89BAB-0D45-4959-8AB2-9F08FDB3D7F9}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bailun.DC.DailyPlatformAccountBalance", "Bailun.DC.DailyPlatformAccountBalance\Bailun.DC.DailyPlatformAccountBalance.csproj", "{7EA89BAB-0D45-4959-8AB2-9F08FDB3D7F9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bailun.DC.AllotOrderDetail", "..\Bailun.DC.AllotOrderDetail\Bailun.DC.AllotOrderDetail.csproj", "{979DA036-4955-4747-9806-F3ECC4A260E5}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
...@@ -149,6 +151,10 @@ Global ...@@ -149,6 +151,10 @@ Global
{7EA89BAB-0D45-4959-8AB2-9F08FDB3D7F9}.Debug|Any CPU.Build.0 = Debug|Any CPU {7EA89BAB-0D45-4959-8AB2-9F08FDB3D7F9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7EA89BAB-0D45-4959-8AB2-9F08FDB3D7F9}.Release|Any CPU.ActiveCfg = Release|Any CPU {7EA89BAB-0D45-4959-8AB2-9F08FDB3D7F9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7EA89BAB-0D45-4959-8AB2-9F08FDB3D7F9}.Release|Any CPU.Build.0 = Release|Any CPU {7EA89BAB-0D45-4959-8AB2-9F08FDB3D7F9}.Release|Any CPU.Build.0 = Release|Any CPU
{979DA036-4955-4747-9806-F3ECC4A260E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{979DA036-4955-4747-9806-F3ECC4A260E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{979DA036-4955-4747-9806-F3ECC4A260E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{979DA036-4955-4747-9806-F3ECC4A260E5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
...@@ -171,6 +177,7 @@ Global ...@@ -171,6 +177,7 @@ Global
{5163B1E9-43F8-4E5A-B4A9-546F5375515E} = {AE2CE86A-8538-4142-920F-684DCF47C064} {5163B1E9-43F8-4E5A-B4A9-546F5375515E} = {AE2CE86A-8538-4142-920F-684DCF47C064}
{A8E6DCD5-9F45-41D3-9297-FB104772B11C} = {AE2CE86A-8538-4142-920F-684DCF47C064} {A8E6DCD5-9F45-41D3-9297-FB104772B11C} = {AE2CE86A-8538-4142-920F-684DCF47C064}
{7EA89BAB-0D45-4959-8AB2-9F08FDB3D7F9} = {AE2CE86A-8538-4142-920F-684DCF47C064} {7EA89BAB-0D45-4959-8AB2-9F08FDB3D7F9} = {AE2CE86A-8538-4142-920F-684DCF47C064}
{979DA036-4955-4747-9806-F3ECC4A260E5} = {AE2CE86A-8538-4142-920F-684DCF47C064}
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6E53AF28-A282-4FB0-A769-EAEA9769C02A} SolutionGuid = {6E53AF28-A282-4FB0-A769-EAEA9769C02A}
......
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