@@ -531,11 +531,11 @@ func (s *subscribePush) getDatasFromMysql(spqp *SubPushQueryParam, starttime, en
}
//老板商机管理需要查询全部来源
- isNew := false
+ isNew := true
//商机管理判断
newCount := IC.MainMysql.CountBySql("select count(id) from entniche_info where id =? and isNew != 1 and status=1", spqp.EntId)
- if newCount > 0 { //新商机管理
- isNew = true
+ if newCount > 0 {
+ isNew = false
// 无查询分配人员、是否已读