添加模型查询岗位接口

This commit is contained in:
sh
2026-01-24 13:28:38 +08:00
parent 0194405957
commit 735df67c77

View File

@@ -144,6 +144,22 @@ public class AppJobController extends BaseController
list.setList(jobList); list.setList(jobList);
return getTableDataInfo(list); return getTableDataInfo(list);
} }
/**
* ai对话模型查询岗位数据(es查询)
* @param job
* @return
*/
@ApiOperation("添加模型查询岗位")
@GetMapping("/searchModelJobsList")
public TableDataInfo searchModelJobsList(ESJobSearch job)
{
EsPageInfo<ESJobDocument> list = esJobSearchService.nearJob(job);
List<ESJobDocument> jobList = list.getList();
jobList.forEach(it->it.setAppJobUrl(String.valueOf(it.getJobId())));
return getDataTable(jobList);
}
/** /**
* 获取岗位详细信息 * 获取岗位详细信息
*/ */