From d096953776519f10cf99e73b9d019a3c4aa5cabe Mon Sep 17 00:00:00 2001 From: luliqiang <kidgrow> Date: Wed, 24 Mar 2021 19:07:50 +0800 Subject: [PATCH] 1、完善哈希表后缀生成方法 2、增加哈希表后缀生成工具类(只传入字符串参数,其他参数用方法中的默认值) --- kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/java/com/kidgrow/usercenter/controller/SysHospitalController.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/java/com/kidgrow/usercenter/controller/SysHospitalController.java b/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/java/com/kidgrow/usercenter/controller/SysHospitalController.java index 50aa8a4..090a6ec 100644 --- a/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/java/com/kidgrow/usercenter/controller/SysHospitalController.java +++ b/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/java/com/kidgrow/usercenter/controller/SysHospitalController.java @@ -167,6 +167,9 @@ sysOrganization.setOrgAttr(1); sysOrganization.setOrgLevel(1); sysOrganization.setOrgParentId(DictionariesConstants.ORG_PARENT_ID); + if(!sysUser.getOrganizations().isEmpty()){ + sysOrganization.setCreateUserOrgCode(sysUser.getOrganizations().get(1).getOrgCode()); + } } else { sysOrganization.setOrgName(sysHospital.getHospitalName()); } -- Gitblit v1.8.0