Merge branch 'dev-lwl/zone' into test

This commit is contained in:
lwl0608 2024-04-29 16:08:59 +08:00
commit 1b17cf1a79
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 {