Эх сурвалжийг харах

feat:运营商数据定制与分析

wangchuanjin 1 жил өмнө
parent
commit
ca86df425a
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      service/service.go

+ 2 - 2
service/service.go

@@ -127,9 +127,9 @@ func UsePersonList(this *entmanageapplication.UsePersonListReq) *entmanageapplic
 		LEFT JOIN entniche_wait_empower h on (h.id=a.wait_empower_id) 
 		where a.status = 1 and a.ent_id = ? and h.end_time >= ?`
 	if common.ObjToString((*sourceData)["product_type"]) == YYSSJDZYFX {
-		q += ` h.product_type=='` + YYSSJDZYFX + `'`
+		q += ` and h.product_type=='` + YYSSJDZYFX + `'`
 	} else {
-		q += ` h.product_type!='` + YYSSJDZYFX + `'`
+		q += ` and h.product_type!='` + YYSSJDZYFX + `'`
 	}
 	q += ` order by a.update_time,a.id desc`
 	data := JyMysql.SelectBySql(q, this.EntId, nowTime)