From 0f7b98963f1282a1089eaab6f48ae73199d16184 Mon Sep 17 00:00:00 2001 From: chengqf <584883665@139.com> Date: Wed, 17 May 2023 05:39:26 +0800 Subject: [PATCH] registerInfo --- .../glxp/api/controller/sup/UserRegisterController.java | 8 -------- 1 file changed, 8 deletions(-) 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 28afc48..358bd90 100644 --- a/src/main/java/com/glxp/api/controller/sup/UserRegisterController.java +++ b/src/main/java/com/glxp/api/controller/sup/UserRegisterController.java @@ -1,6 +1,5 @@ package com.glxp.api.controller.sup; -import java.util.List; import java.util.Map; import javax.annotation.Resource; @@ -22,8 +21,6 @@ import com.glxp.api.common.enums.ResultEnum; import com.glxp.api.common.res.BaseResponse; import com.glxp.api.common.util.ResultVOUtils; import com.glxp.api.controller.BaseController; -import com.glxp.api.entity.sup.UserCertEntity; -import com.glxp.api.entity.sup.UserPersonEntity; import com.glxp.api.entity.sup.UserRegisterEntity; import com.glxp.api.service.sup.UserCertService; import com.glxp.api.service.sup.UserPersonService; @@ -64,11 +61,6 @@ public class UserRegisterController extends BaseController { UserRegisterEntity userRegisterEntity = userRegisterService.getOne(new QueryWrapper().eq("mobile", mobile)); if(userRegisterEntity==null) { userRegisterEntity = new UserRegisterEntity(); - } else { - List userPersons = userPersonService.list(new QueryWrapper().eq("registerId", userRegisterEntity.getId())); - userRegisterEntity.setUserPersons(userPersons); - List userCerts = userCertService.list(new QueryWrapper().eq("registerId", userRegisterEntity.getId())); - userRegisterEntity.setUserCerts(userCerts); } return ResultVOUtils.success(userRegisterEntity); }