Merge branch 'refs/heads/feat-cid-run-list' into release

This commit is contained in:
junleea 2025-10-02 21:33:04 +08:00
commit 00aa3b5b7b
1 changed files with 2 additions and 2 deletions

View File

@ -67,10 +67,10 @@ func GetGORMDBObject(dbmInfo *proto.DBManage) (db_ *gorm.DB, err error) {
}
dao.DBMMapRWMutex.Lock()
var dbValue *proto.DBValue
var dbValue proto.DBValue
dbValue.Value = db_
dbValue.LastUserTime = worker.GetCurrentTimestamp()
dao.DBMMap[dbmInfo.ID] = dbValue
dao.DBMMap[dbmInfo.ID] = &dbValue
dao.DBMMapRWMutex.Unlock()
return db_, err
}