Commit 35331dd5 by 朱继来

调整更新竞调单

parent 9d30ffdf
Showing with 2 additions and 2 deletions
......@@ -89,10 +89,10 @@ func UpdateJingDiaoOrder() {
start_time := t.Unix() - 86400
end_time := t.Unix() - 1
_, err := db.DB.Exec("update lie_order set status = ? where is_type = ? and create_time between ? and ?", 8, 1, start_time, end_time)
_, err := db.DB.Exec("update lie_order set status = ? where is_type = ? and status = ? and create_time between ? and ?", 8, 1, 4, start_time, end_time)
if err != nil {
logger.Fatal("更新昨天的竞调订单操作失败")
logger.Fatal("更新昨天的竞调订单操作失败," + err.Error())
return
}
......
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