过滤被删除的订单

This commit is contained in:
lzh 2025-10-21 09:38:42 +08:00
parent 36ef189971
commit ed629f515f

View File

@ -94,6 +94,7 @@ func GetBundleBalanceList(req *bundle.GetBundleBalanceListReq) (data []model.Bun
Where("rn.name IS NOT NULL").
Where("u.deleted_at = 0").
Where("bb.month = ?", req.Month).
Where("bor.deleted_at IS NULL").
Order("bor.expiration_time desc")
if req.UserName != "" {
if utils.IsPhoneNumber(req.UserName) {