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 8070a32..a30bdda 100644 --- a/src/main/java/com/glxp/api/controller/sup/UserRegisterController.java +++ b/src/main/java/com/glxp/api/controller/sup/UserRegisterController.java @@ -70,7 +70,7 @@ public class UserRegisterController extends BaseController { userRegisterEntity = new UserRegisterEntity(); } else { userPersons = userPersonService.list(new QueryWrapper().eq("registerId", userRegisterEntity.getId())); - userCerts = userCertService.list(new QueryWrapper().eq("registerId", userRegisterEntity.getId())); + userCerts = userCertService.list(new QueryWrapper().eq("businessId", userRegisterEntity.getId())); } BaseResponse res = ResultVOUtils.success(userRegisterEntity); JSONObject object = (JSONObject) res.getData();