|
@@ -361,7 +361,8 @@ public class PersonInfoController {
|
|
@ApiImplicitParam(name = "position3",value = "三级位置", required = false, paramType = "form",dataType = "String"),
|
|
@ApiImplicitParam(name = "position3",value = "三级位置", required = false, paramType = "form",dataType = "String"),
|
|
@ApiImplicitParam(name = "position4",value = "四级位置", required = false, paramType = "form",dataType = "String"),
|
|
@ApiImplicitParam(name = "position4",value = "四级位置", required = false, paramType = "form",dataType = "String"),
|
|
@ApiImplicitParam(name = "position5",value = "五级位置", required = false, paramType = "form",dataType = "String"),
|
|
@ApiImplicitParam(name = "position5",value = "五级位置", required = false, paramType = "form",dataType = "String"),
|
|
- @ApiImplicitParam(name = "faceBound",value = "是否同步", required = false, paramType = "form",dataType = "String")
|
|
|
|
|
|
+ @ApiImplicitParam(name = "faceBound",value = "是否同步", required = false, paramType = "form",dataType = "String"),
|
|
|
|
+ @ApiImplicitParam(name = "isUploadPhoto",value = "是否上传照片", required = false, paramType = "form",dataType = "String")
|
|
})
|
|
})
|
|
public MessageResult<Map> pageList(
|
|
public MessageResult<Map> pageList(
|
|
@RequestParam(value="name",defaultValue="") String name,
|
|
@RequestParam(value="name",defaultValue="") String name,
|
|
@@ -376,6 +377,7 @@ public class PersonInfoController {
|
|
@RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
|
|
@RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
|
|
@RequestParam(value="pageSize",defaultValue="20") int pageSize,
|
|
@RequestParam(value="pageSize",defaultValue="20") int pageSize,
|
|
@RequestParam(value="faceBound",defaultValue="") String faceBound,
|
|
@RequestParam(value="faceBound",defaultValue="") String faceBound,
|
|
|
|
+ @RequestParam(value="isUploadPhoto",defaultValue="") String isUploadPhoto,
|
|
@RequestAttribute String subject){
|
|
@RequestAttribute String subject){
|
|
|
|
|
|
//当前用户ID
|
|
//当前用户ID
|
|
@@ -433,6 +435,10 @@ public class PersonInfoController {
|
|
searchParams.put("faceBound",faceBound);
|
|
searchParams.put("faceBound",faceBound);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if(StringUtils.isNotEmpty(isUploadPhoto)){
|
|
|
|
+ searchParams.put("isUploadPhoto", isUploadPhoto);
|
|
|
|
+ }
|
|
|
|
+
|
|
Page<PersonInfo> page = personInfoService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
|
|
Page<PersonInfo> page = personInfoService.pageSearch(searchParams,pageIndex,pageSize,true,sortList);
|
|
Page<PersonInfoDTO> pageDTO = PojoUtils.convertPage(page, PersonInfoDTO.class);
|
|
Page<PersonInfoDTO> pageDTO = PojoUtils.convertPage(page, PersonInfoDTO.class);
|
|
|
|
|