From 6dce4e8605aea1aed529e6b4c62217bbad2f9f7a Mon Sep 17 00:00:00 2001 From: Administrator <704728292@qq.com> Date: Fri, 4 Jul 2025 13:38:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E9=99=A4=E4=BA=BA=E5=91=98=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E7=BC=96=E8=BE=91=E4=BF=9D=E5=AD=98=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jcl/organization/esb/SyncOrganizationPersonInfo.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SyncOrganizationPersonInfo.java b/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SyncOrganizationPersonInfo.java index a8cf172..2f00ff8 100644 --- a/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SyncOrganizationPersonInfo.java +++ b/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SyncOrganizationPersonInfo.java @@ -16,9 +16,11 @@ import com.weaver.common.form.metadata.ModuleSource; import com.weaver.common.form.param.FieldManageParam; import com.weaver.common.form.param.auth.FormAuthenticationParam; import com.weaver.common.hrm.cache.HrmDepartmentComInfo; +import com.weaver.common.hrm.cache.HrmEmployeeComInfo; import com.weaver.common.hrm.cache.HrmPositionComInfo; import com.weaver.common.hrm.util.HrmDepartmentUtil; import com.weaver.common.i18n.label.SystemEnv; +import com.weaver.common.i18n.tool.util.I18nContextUtil; import com.weaver.common.mybatis.util.DatabaseUtil; import com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface; import com.weaver.form.controller.manage.FormFieldManageController; @@ -496,6 +498,11 @@ public class SyncOrganizationPersonInfo implements EsbServerlessRpcRemoteInterfa *更新员工信息表所有明细表 */ updateAllYgxxDetailInfo(ygxxid,Long.parseLong(objId),tableName,tableUserName,formdata,FORM_DATA ); + /** + * 刷新更新人员卡片缓存 + */ + ComInfoCache infoCache = I18nContextUtil.getBean(ComInfoCache.class); + infoCache.removeCacheById(HrmEmployeeComInfo.class,glzzyg); } //判断新增/更新数据是否都成功 //if(code==200&&code2==200&&code3==200&&code4==200&&code5==200){