用java代码怎么通过ElasticSearch的接口来查询数据

2025-03-21 17:20:40
推荐回答(1个)
回答1:

两表根据两个字段关联即可
如 select distinct b.type_name from news a,news_type b where a.news_type_id= b.type_id and a.news_type_id = '1'