From 71288e85afbfc7ac12d5060feb1d29aa139513d6 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 16 四月 2024 20:47:10 +0800 Subject: [PATCH] 增加月度统计库存定时任务,统计期初数量,出入库数量,期末数量 --- main.go | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/main.go b/main.go index 2a44bc8..cbc62e9 100644 --- a/main.go +++ b/main.go @@ -19,6 +19,7 @@ "wms/proto/purchase_wms" "wms/router" "wms/service" + "wms/task" ) func main() { @@ -75,6 +76,8 @@ go service.InitLocationReportData() go service.InitHistoryReportData() + task.Init() + logx.Error(server.ListenAndServe().Error()) } -- Gitblit v1.8.0