From 260b3fbc34b4e9ae2ee53e4a7917abb72ef848a7 Mon Sep 17 00:00:00 2001 From: dsmzx <dsmzx@123.com> Date: 星期二, 02 七月 2024 15:44:15 +0800 Subject: [PATCH] 出库/入库打印 修改bug --- task/tasklist.go | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/task/tasklist.go b/task/tasklist.go index cdd479a..1a787a1 100644 --- a/task/tasklist.go +++ b/task/tasklist.go @@ -25,6 +25,11 @@ logx.Errorf("init task err:%v", err) return err } + _, err = dynamicScheduler.Every(1).Month(day).At(timeStr).Do(WarehouseMonthStats) //姣忔湀鍒濇墽琛屼竴娆� + if err != nil { + logx.Errorf("init task err:%v", err) + return err + } } if dynamicScheduler.Len() == 0 { return -- Gitblit v1.8.0