瀏覽代碼

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

wangchuanjin 1 年之前
父節點
當前提交
7593e10520
共有 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 += ` and h.product_type=='` + YYSSJDZYFX + `'`
+		q += ` and h.product_type='` + YYSSJDZYFX + `'`
 	} else {
-		q += ` and 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)