Commit 8966b5e9 by mushishixian

fix

parent 68df93d7
Showing with 1 additions and 0 deletions
......@@ -90,6 +90,7 @@ func main() {
var giftActivityList []model.GiftActivity
err = specialDb.Reset().Table(&giftActivityList).Fields("id,start_time,end_time").Where("status", "!=", -1).
Where("end_time", ">", updateTime).Select()
fmt.Println(specialDb.LastSql())
if err != nil {
fmt.Println(err.Error())
logger.Error(err.Error())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment