1
This commit is contained in:
parent
3bfc9b0ef2
commit
3a0348635c
@ -1,7 +1,7 @@
|
|||||||
package task
|
package task
|
||||||
|
|
||||||
import (
|
import (
|
||||||
//"q5"
|
"q5"
|
||||||
"f5"
|
"f5"
|
||||||
"main/constant"
|
"main/constant"
|
||||||
"fmt"
|
"fmt"
|
||||||
@ -42,5 +42,24 @@ ORDER BY idx LIMIT 1000
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *recharge) deliverGoods(ds *f5.DataSet) bool {
|
func (this *recharge) deliverGoods(ds *f5.DataSet) bool {
|
||||||
return true
|
var result = false
|
||||||
|
orderId := ds.GetByName("order_id")
|
||||||
|
f5.GetGoStyleDb().OrmSelectOne(
|
||||||
|
constant.GAME_DB,
|
||||||
|
"t_recharge_order",
|
||||||
|
[][]string{
|
||||||
|
{"order_id", orderId},
|
||||||
|
},
|
||||||
|
func (err error, ds *f5.DataSet) {
|
||||||
|
if err != nil {
|
||||||
|
result = false
|
||||||
|
return
|
||||||
|
}
|
||||||
|
status := q5.ToInt32(ds.GetByName("stauts"))
|
||||||
|
if status != 0 {
|
||||||
|
result = true
|
||||||
|
return
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return result
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user