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); }