|
|
@@ -11,6 +11,8 @@ import com.jpsoft.employment.modules.job.service.*;
|
|
|
import com.jpsoft.employment.modules.sys.entity.DataDictionary;
|
|
|
import com.jpsoft.employment.modules.sys.service.DataDictionaryService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiImplicitParam;
|
|
|
+import io.swagger.annotations.ApiImplicitParams;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
@@ -48,8 +50,11 @@ public class UserBrowseHrApiController {
|
|
|
|
|
|
@PostMapping("pageListHR")
|
|
|
@ApiOperation(value = "浏览记录")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "positionName", value = "职位名称关键字", required = false, paramType = "form")
|
|
|
+ })
|
|
|
public MessageResult<Map> pageListHR(
|
|
|
- String token,String positionCategoryId,Integer age,String sex,
|
|
|
+ String token,String positionName,String positionCategoryId,Integer age,String sex,
|
|
|
String workExp,String education,String createTimeRange,
|
|
|
@RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
|
|
|
@RequestParam(value="pageSize",defaultValue="20") int pageSize,
|
|
|
@@ -116,6 +121,9 @@ public class UserBrowseHrApiController {
|
|
|
searchParams.put("endTime", endTime);
|
|
|
}
|
|
|
|
|
|
+ if(StringUtils.isNotEmpty(positionName)){
|
|
|
+ searchParams.put("positionName","%"+positionName+"%");
|
|
|
+ }
|
|
|
|
|
|
Page<UserBrowseHr> page = userBrowseHrService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
|
|
|
|
|
|
@@ -134,7 +142,7 @@ public class UserBrowseHrApiController {
|
|
|
String workExpName="";
|
|
|
String dreamMoneyName="";
|
|
|
String educationName="";
|
|
|
- String positionName = "";
|
|
|
+// String positionName = "";
|
|
|
|
|
|
|
|
|
if(resume!=null){
|