Commit b96e3859 by lizefeng

调缺货推送 stocks 的数据类型

parent 78cfae17
......@@ -23,7 +23,7 @@ namespace AutoTurnOver.Models.ApiDto
/// <summary>
/// 库存
/// </summary>
public int stocks { get; set; }
public decimal stocks { get; set; }
}
public class ShortagePush_ResponseDto
......
......@@ -11,7 +11,7 @@ namespace ShortagePush
static async Task Main(string[] args)
{
Console.WriteLine("推送缺货数据服务");
new ReportServices().ShortagePush();
//new ReportServices().ShortagePush();
var builder = new HostBuilder().ConfigureServices((hostContext, services) =>
{
services.AddHostedService<ShortagePushBackgroundService>();
......
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