Bläddra i källkod

feat:增加限制

wangchuanjin 1 år sedan
förälder
incheckning
83c54849cb
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      service/service.go

+ 2 - 2
service/service.go

@@ -120,8 +120,8 @@ func UsePersonList(this *entmanageapplication.UsePersonListReq) *entmanageapplic
 		LEFT JOIN entniche_department_user f on (a.ent_user_id=f.user_id) 
 		LEFT JOIN entniche_department g on (g.id=f.dept_id) 
 		LEFT JOIN entniche_wait_empower h on (h.id=a.wait_empower_id) 
-		where a.status = 1 and a.ent_id = ? and end_time >= ? 
-		order by a.update_time desc`, this.EntId, nowTime)
+		where a.status = 1 and a.ent_id = ? and h.product_type<>'运营商数据定制及分析' and h.end_time >= ? 
+		order by a.update_time,a.id desc`, this.EntId, nowTime)
 	arr := []*entmanageapplication.UsePersonList{}
 	if data != nil && len(*data) > 0 {
 		for _, v := range *data {