修复购买数量低于限制的问题

This commit is contained in:
2026-05-11 14:11:56 +08:00
parent 65f8ee360b
commit d273731e31
3 changed files with 9 additions and 3 deletions

View File

@@ -372,7 +372,7 @@ func (s *channelBaiyinProvider) ClearExpiredChannels(proxyId int32) (int, error)
// 排除未过期通道
var batchQueried []struct{ BatchNo string }
err = q.Channel.Debug().
err = q.Channel.
Select(q.Channel.BatchNo).
Where(
q.Channel.BatchNo.In(batchList...),