fix zone ferund

This commit is contained in:
lwl0608 2024-04-29 16:08:51 +08:00
parent a8d3a45b71
commit cc7a910b72
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ func (m *Mysql) CreateZoneConsumeHis(ctx *gin.Context, tx *sqlx.Tx, zch *dbstruc
// 获取空间消费详情
func (m *Mysql) GetZoneConsumeHisByOrderId(ctx *gin.Context, tx *sqlx.Tx, orderId string) (list []*dbstruct.ZoneConsumeHis, err error) {
list = make([]*dbstruct.ZoneConsumeHis, 0)
sqlStr := fmt.Sprintf("select * from %s where order_id=?", TableVasZoneMomentUnlock)
sqlStr := fmt.Sprintf("select * from %s where order_id=?", TableVasZoneConsumeHistory)
if tx != nil {
err = tx.SelectContext(ctx, &list, sqlStr, orderId)
} else {