Commit 21f50562 by 朱继来

调整

parent d07056b5
Showing with 2 additions and 1 deletions
......@@ -72,7 +72,7 @@ func setFindGoods(status, task_id, task_type, task_display_degree int) {
db := dao.GetNewDb()
// 获取快速找料的用户
row, err := db.Queryx("select * from lie_feedback where type = ? and is_add_task = ? order by id desc", 7, 0)
row, err := db.Queryx("select * from lie_feedback where type = ? and is_add_task = ? order by id desc limit 50", 7, 0)
defer db.Close()
if err != nil {
......@@ -99,6 +99,7 @@ func setFindGoods(status, task_id, task_type, task_display_degree int) {
db.Get(&task_info, "select * from lie_task_info where user_id = ? and status = ? and (task_type = ? or task_type = ?) limit 1", feedback.Outter_Uid, 1, 1, 4)
if task_info.Id != 0 {
db.Exec("update lie_feedback set is_add_task = ? where id = ?", 1, feedback.Id)
continue
}
......
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