zhangqian
2023-11-27 252ad9f55e8828bcacb8ddef28c8e9ff0a62f8d6
service/task.go
@@ -1,6 +1,7 @@
package service
import (
   "apsClient/conf"
   "apsClient/constvar"
   "apsClient/model"
   "apsClient/model/common"
@@ -133,7 +134,7 @@
func (slf TaskService) UpdateProcedureStatusAndChannel(db *gorm.DB, id uint, status model.ProcedureStatus, channel int32, processModelNumber string) error {
   if status == model.ProcedureStatusFinished || status == model.ProcedureStatusWaitProcess {
      ProgressCacheUnset(channel)
      ProgressCacheUnset(conf.Conf.CurrentDeviceID, channel)
   }
   upMap := map[string]interface{}{"status": status}