Parcourir la source

fix:符号修改

duxin il y a 2 ans
Parent
commit
3782641ca9
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      service/message_mail_box.go

+ 3 - 3
service/message_mail_box.go

@@ -191,7 +191,7 @@ func (b MessaggeService) UserList(in *messagecenter.UserReq) (data *[]map[string
 	   				FROM
 		   				socialize_customer_service_user a
 		   				INNER JOIN base_user b ON  ( a.customer_service_id = %d AND a.user_id = b.id %s %s)
-						INNER JOIN socialize_summary c ON ( a.ent_id = c.ent_id AND a.user_id = c.user_id, %s)`, in.EntUserId, filtrationSql, phoneSql,
+						INNER JOIN socialize_summary c ON ( a.ent_id = c.ent_id AND a.user_id = c.user_id %s)`, in.EntUserId, filtrationSql, phoneSql,
 			strings.ReplaceAll(timeSql, "a.", "c."))
 		var restrictionSql string
 		switch in.IsArtificial {
@@ -278,8 +278,8 @@ func (b MessaggeService) ConversationList(in *messagecenter.ConversationReq) (da
 		   				b.headimg
 	   				FROM
 		   				socialize_customer_service_user a
-		   				INNER JOIN base_user b ON  ( a.customer_service_id = %d AND a.user_id = b.id %s %s)
-						INNER JOIN socialize_summary c ON ( a.ent_id = c.ent_id AND a.user_id = c.user_id, %s)`, in.EntUserId, filtrationSql)
+		   				INNER JOIN base_user b ON  ( a.customer_service_id = %d AND a.user_id = b.id %s)
+						INNER JOIN socialize_summary c ON ( a.ent_id = c.ent_id AND a.user_id = c.user_id)`, in.EntUserId, filtrationSql)
 		sqlStr = aiSql + " UNION ALL " + serviceSql
 	}