Compare commits
2 Commits
32632183cf
...
145a4258eb
Author | SHA1 | Date | |
---|---|---|---|
145a4258eb | |||
089d8af480 |
@ -113,6 +113,9 @@ func GetBundleBalanceList(req *bundle.GetBundleBalanceListReq) (data []model.Bun
|
||||
if req.Status != 0 {
|
||||
session = session.Where("bor.status = ?", req.Status)
|
||||
}
|
||||
if req.BundleName != "" {
|
||||
session = session.Where("bor.bundle_name like ?", "%"+req.BundleName+"%")
|
||||
}
|
||||
if req.ExpiredTimeEnd != 0 {
|
||||
session = session.Where("bor.expiration_time <= ?", time.UnixMilli(req.ExpiredTimeEnd))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user