|
|
|
@ -65,6 +65,8 @@ import java.util.stream.Collectors;
|
|
|
|
|
@ApiIgnore
|
|
|
|
|
@RestController
|
|
|
|
|
public class SupCertController {
|
|
|
|
|
@Resource
|
|
|
|
|
private UserCertService userCertService;
|
|
|
|
|
@Resource
|
|
|
|
|
private AuthAdminService authAdminService;
|
|
|
|
|
@Resource
|
|
|
|
@ -78,6 +80,20 @@ public class SupCertController {
|
|
|
|
|
@Resource
|
|
|
|
|
private SystemPDFModuleService systemPDFModuleService;
|
|
|
|
|
|
|
|
|
|
@GetMapping("/sup/company/cert/filterList")
|
|
|
|
|
public BaseResponse filterCompanyCert(certRequest certRequest , BindingResult bindingResult){
|
|
|
|
|
if (bindingResult.hasErrors()) {
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage());
|
|
|
|
|
}
|
|
|
|
|
List<UserCertEntity> userCertEntities = userCertService.selectBybId(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("/directToCpt/sup/company/cert/filter")
|
|
|
|
|
public BaseResponse filterCompanyCert(FilterSupCertRequest filterSupCertRequest,
|
|
|
|
@ -652,6 +668,18 @@ public class SupCertController {
|
|
|
|
|
return ResultVOUtils.success(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//首营预览文件
|
|
|
|
|
@PostMapping("/udiwms/image/register/file")
|
|
|
|
|
public BaseResponse uploadRegisterFile2(@RequestBody FilterImageRequest filterImageRequest) {
|
|
|
|
|
List<String> urlList = Arrays.asList(filterImageRequest.getImageUrl().split(","));
|
|
|
|
|
List<String> list = new ArrayList<>();
|
|
|
|
|
for (String obj : urlList) {
|
|
|
|
|
String url = filterImageRequest.getCertFileUrl() + obj;
|
|
|
|
|
list.add(url);
|
|
|
|
|
}
|
|
|
|
|
return ResultVOUtils.success(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @Resource
|
|
|
|
|
// private AuthAdminService authAdminService;
|
|
|
|
|
// @Resource
|
|
|
|
|