|
|
|
@ -93,7 +93,19 @@ public class SupCertController {
|
|
|
|
|
pageSimpleResponse.setList(userCertEntities);
|
|
|
|
|
return ResultVOUtils.success(pageSimpleResponse);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping("sup/company/cert/filterZcList")
|
|
|
|
|
public BaseResponse filterZcCert(certRequest certRequest , BindingResult bindingResult){
|
|
|
|
|
if (bindingResult.hasErrors()) {
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage());
|
|
|
|
|
}
|
|
|
|
|
List<UserCertEntity> userCertEntities = userCertService.selectByzcId(certRequest);
|
|
|
|
|
PageInfo<UserCertEntity> pageInfo;
|
|
|
|
|
pageInfo = new PageInfo<>(userCertEntities);
|
|
|
|
|
PageSimpleResponse<UserCertEntity> pageSimpleResponse = new PageSimpleResponse<>();
|
|
|
|
|
pageSimpleResponse.setTotal(pageInfo.getTotal());
|
|
|
|
|
pageSimpleResponse.setList(userCertEntities);
|
|
|
|
|
return ResultVOUtils.success(pageSimpleResponse);
|
|
|
|
|
}
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@GetMapping("/sup/company/cert/filter")
|
|
|
|
|
public BaseResponse filterUserCompanyCert(FilterSupCertRequest filterSupCertRequest,
|
|
|
|
|