Commit ca985ce3 by 朱继来

调整

parent bdea6c5f
Showing with 2 additions and 2 deletions
......@@ -62,7 +62,7 @@ func setNoOrderTask(status, task_id, task_type, task_display_degree int, task_en
// 获取未释放且未下单用户
row, err := dao.GetDb().Queryx("select u.user_id, u.copy_ctime from lie_user as u left join lie_user_extend as ue on u.user_id = ue.user_id where " +
"u.is_free = ? u.is_add_task = ? and ue.no_create_order = ? order by user_id desc limit 1000", 0, 0, 1)
"u.is_free = ? and u.is_add_task = ? and ue.no_create_order = ? order by user_id desc limit 1000", 0, 0, 1)
if err != nil {
logger.Info("获取未下单用户失败: ", err.Error())
......@@ -80,7 +80,7 @@ func setNoOrderTask(status, task_id, task_type, task_display_degree int, task_en
var check_time int64 // 校验时间
if salesman.Sale_Id != 0 {
// 转化为int64
s_assign_time := strconv.Itoa(salesman.Assign_Time)
s_assign_time := strconv.Itoa(salesman.Update_Time)
check_time, _ = strconv.ParseInt(s_assign_time,10,64)
} else {
check_time = user.Copy_ctime
......
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