|
|
@@ -20,7 +20,7 @@ func (a AdvertisingCallbackDb) FindAdvertisingCallbackAndTotal(page, limit, amou |
|
|
|
var m []model.AdvertisingCallback |
|
|
|
sess := a.Db.Where("1=1") |
|
|
|
if amount != "" { |
|
|
|
sess.And("amount<=?", amount) |
|
|
|
sess.And("amount<=?", zhios_order_relate_utils.StrToFloat64(amount)) |
|
|
|
} |
|
|
|
if uid != "" { |
|
|
|
sess.And("uid=?", uid) |
|
|
|