添加模型查询岗位接口
This commit is contained in:
@@ -144,6 +144,22 @@ public class AppJobController extends BaseController
|
||||
list.setList(jobList);
|
||||
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);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取岗位详细信息
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user