zhangchuanxing 1 ماه پیش
والد
کامیت
47f8be8c9a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      controllers/cygx/user.go

+ 1 - 1
controllers/cygx/user.go

@@ -208,7 +208,7 @@ func (this *UserController) List() {
 
 	if label != "" && utf8.RuneCountInString(label) > 1 {
 		//usercondition += ` AND u.user_label LIKE '%` + label + `%'`
-		usercondition += ` AND u.user_id IN ( SELECT user_id  FROM ` + utils.GetCygxDatabase() + `.wx_user_rai_label WHERE label LIKE '%` + label + `%' ) `
+		usercondition += ` AND u.user_id IN ( SELECT user_id  FROM ` + utils.GetCygxDatabase() + `.wx_user_rai_label WHERE label LIKE '%` + label + `%'  AND create_time >= '` + time.Now().AddDate(0, -4, 0).Format(utils.FormatDate) + `' ) `
 	}
 
 	//