- 修复UpdateActStatusByTime中的BUG

This commit is contained in:
gazebo
2019-08-05 16:59:30 +08:00
parent 4b6ed5200f
commit 539cfb31fe
4 changed files with 22 additions and 14 deletions

View File

@@ -165,12 +165,12 @@ func InitEx() {
startTimeList = startOpStoreTimeListJXGY
stopTimeList = endOpStoreTimeListJXGY
}
ScheduleTimerFunc(func() {
ScheduleTimerFunc("StartOpStore", func() {
if !IsImportantTaskRunning(TaskNameSyncStoreSku) {
StartOrEndOpStore(true, 0, 0, false, true)
}
}, startTimeList)
ScheduleTimerFunc(func() {
ScheduleTimerFunc("EndOpStore", func() {
if !IsImportantTaskRunning(TaskNameSyncStoreSku) {
StartOrEndOpStore(false, 0, 0, false, true)
}