update go mod

This commit is contained in:
2023-10-08 21:36:39 +08:00
parent 11cde6cc4f
commit 794d10063e
3 changed files with 22 additions and 8 deletions

View File

@ -157,7 +157,7 @@ func (b *BaseDao) setTxCondition(tx *gorm.DB, optionFuncList ...SetOption) *gorm
// 指定查询的表
if len(o.Table) > 0 {
tx.Table(o.Table)
tx = tx.Table(o.Table)
} else {
tx = tx.Table(b.TableName)
}