@@ -582,13 +582,6 @@ func (s *subscribePush) getDatasFromMysql(spqp *SubPushQueryParam, starttime, en
} else if len(spqp.Staffs) > 0 {
staffs = spqp.Staffs
}
- //老板商机管理需要查询全部来源
- 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 = false
- }
// 无查询分配人员、是否已读
if spqp.IsRead == "" && len(staffs) == 0 {
//查询数量(需要去重)