From 4f727a94d27ee074f2c23062946524aee39a796b Mon Sep 17 00:00:00 2001
From: liuliang <401809302@qq.com>
Date: Fri, 11 Apr 2025 15:03:30 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A0=B9=E6=8D=AE=E8=A1=A8?=
=?UTF-8?q?=E5=90=8D=E8=8E=B7=E5=BE=97e-builder=E4=BF=A1=E6=81=AF=E6=8E=A5?=
=?UTF-8?q?=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jcl-hrmorganization/dubbo.xml | 7 +++++
.../esb/SynchronousFieldByEmployee.java | 31 +++++++++++++++++++
2 files changed, 38 insertions(+)
create mode 100644 jcl-hrmorganization/dubbo.xml
create mode 100644 jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SynchronousFieldByEmployee.java
diff --git a/jcl-hrmorganization/dubbo.xml b/jcl-hrmorganization/dubbo.xml
new file mode 100644
index 0000000..7d5c473
--- /dev/null
+++ b/jcl-hrmorganization/dubbo.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SynchronousFieldByEmployee.java b/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SynchronousFieldByEmployee.java
new file mode 100644
index 0000000..23f0081
--- /dev/null
+++ b/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SynchronousFieldByEmployee.java
@@ -0,0 +1,31 @@
+package com.weaver.seconddev.jcl.organization.esb;
+
+import com.weaver.common.base.entity.result.WeaResult;
+import com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface;
+import com.weaver.seconddev.jcl.organization.service.EmployeeInformationService;
+import com.weaver.teams.domain.user.SimpleEmployee;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 初始化员工信息和人力资源基本信息以及个人信息自定义字段的同步
+ */
+@Service("synchronousFieldByEmployee_jcl")
+public class SynchronousFieldByEmployee implements EsbServerlessRpcRemoteInterface {
+
+ @Autowired
+ EmployeeInformationService employeeInformationService;
+ @Override
+ public WeaResult