过滤被删除的订单
This commit is contained in:
parent
36ef189971
commit
ed629f515f
@ -94,6 +94,7 @@ func GetBundleBalanceList(req *bundle.GetBundleBalanceListReq) (data []model.Bun
|
|||||||
Where("rn.name IS NOT NULL").
|
Where("rn.name IS NOT NULL").
|
||||||
Where("u.deleted_at = 0").
|
Where("u.deleted_at = 0").
|
||||||
Where("bb.month = ?", req.Month).
|
Where("bb.month = ?", req.Month).
|
||||||
|
Where("bor.deleted_at IS NULL").
|
||||||
Order("bor.expiration_time desc")
|
Order("bor.expiration_time desc")
|
||||||
if req.UserName != "" {
|
if req.UserName != "" {
|
||||||
if utils.IsPhoneNumber(req.UserName) {
|
if utils.IsPhoneNumber(req.UserName) {
|
||||||
|
Loading…
Reference in New Issue
Block a user