From 66201f4b94839792a971699d8e50fd9832512cd6 Mon Sep 17 00:00:00 2001 From: 1178634255 <1178634255@qq.com> Date: Fri, 30 Jun 2023 18:18:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E8=B5=84=E8=B4=A8=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E4=BB=A3=E7=A0=81=E6=9B=B4=E6=96=B0=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/controller/purchase/SupCertController.java | 14 +------------- .../api/controller/sup/UserRegisterController.java | 4 ++-- .../com/glxp/api/entity/sup/UserCertEntity.java | 1 + 3 files changed, 4 insertions(+), 15 deletions(-) diff --git a/src/main/java/com/glxp/api/controller/purchase/SupCertController.java b/src/main/java/com/glxp/api/controller/purchase/SupCertController.java index 4c34c25..183f0b8 100644 --- a/src/main/java/com/glxp/api/controller/purchase/SupCertController.java +++ b/src/main/java/com/glxp/api/controller/purchase/SupCertController.java @@ -93,19 +93,7 @@ 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 userCertEntities = userCertService.selectByzcId(certRequest); - PageInfo pageInfo; - pageInfo = new PageInfo<>(userCertEntities); - PageSimpleResponse 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, diff --git a/src/main/java/com/glxp/api/controller/sup/UserRegisterController.java b/src/main/java/com/glxp/api/controller/sup/UserRegisterController.java index 858704a..506c7bc 100644 --- a/src/main/java/com/glxp/api/controller/sup/UserRegisterController.java +++ b/src/main/java/com/glxp/api/controller/sup/UserRegisterController.java @@ -211,9 +211,9 @@ public class UserRegisterController extends BaseController { // BeanUtils.copyProperties(registComPerResponse,userPersonEntity); BeanUtils.copyProperties(registComPerResponse, userCompanyEntity); userRegisterEntity.setId(Long.valueOf(registComPerResponse.getUrId())); - + System.out.println(Long.valueOf(registComPerResponse.getUrId())); // userPersonEntity.setId(Long.valueOf(registComPerResponse.getUpId())); - userCompanyEntity.setId(Long.valueOf(registComPerResponse.getUcId())); + userCompanyEntity.setId(Long.valueOf(registComPerResponse.getUrId())); userCompanyEntity.setContactWay(registComPerResponse.getFmobile()); if ("key".equals(registComPerResponse.getKey())) { //提交审核 diff --git a/src/main/java/com/glxp/api/entity/sup/UserCertEntity.java b/src/main/java/com/glxp/api/entity/sup/UserCertEntity.java index f2791cd..b0eab4c 100644 --- a/src/main/java/com/glxp/api/entity/sup/UserCertEntity.java +++ b/src/main/java/com/glxp/api/entity/sup/UserCertEntity.java @@ -175,5 +175,6 @@ public class UserCertEntity implements Serializable { private String auditComment; + private static final long serialVersionUID = 1L; }