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){