diff --git a/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SyncRzglPersonInfo.java b/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SyncRzglPersonInfo.java index 5941966..728a763 100644 --- a/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SyncRzglPersonInfo.java +++ b/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SyncRzglPersonInfo.java @@ -82,8 +82,20 @@ public class SyncRzglPersonInfo implements EsbServerlessRpcRemoteInterface { } }else{ //更新 - //3.更新元素据到员工信息表,移除id + //3.更新元素据到员工信息表,移除id(清楚系统列) map.remove("id"); + map.remove("updater"); + map.remove("create_time"); + map.remove("creator"); + map.remove("delete_type"); + map.remove("is_delete"); + map.remove("form_data_id"); + map.remove("flow_id"); + map.remove("is_flow"); + map.remove("flow_status"); + map.remove("eb_workflow_id"); + map.remove("current_step"); + map.remove("name"); if(!map.isEmpty()){ //更新前先处理一下时间 cleanUpTime(map); diff --git a/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SyncXxbgPersonInfo.java b/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SyncXxbgPersonInfo.java index fce2118..2d6a124 100644 --- a/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SyncXxbgPersonInfo.java +++ b/jcl-hrmorganization/secondev-jcl-hrmorganization/src/main/java/com/weaver/seconddev/jcl/organization/esb/SyncXxbgPersonInfo.java @@ -54,8 +54,21 @@ public class SyncXxbgPersonInfo implements EsbServerlessRpcRemoteInterface { Map map = getXxbgsqInfo(lcid); log.error("SyncXxbgPersonInfo.map:{}", map); //2.查询员工信息表字段 - //3.更新元素据到员工信息表,移除id + //3.更新元素据到员工信息表,移除id(清楚系统列) map.remove("id"); + map.remove("updater"); + map.remove("create_time"); + //map.remove("update_time"); + map.remove("creator"); + map.remove("delete_type"); + map.remove("is_delete"); + map.remove("form_data_id"); + map.remove("flow_id"); + map.remove("is_flow"); + map.remove("flow_status"); + map.remove("eb_workflow_id"); + map.remove("current_step"); + map.remove("name"); if(!map.isEmpty()){ //更新前先处理一下时间 cleanUpTime(map); @@ -594,7 +607,7 @@ public class SyncXxbgPersonInfo implements EsbServerlessRpcRemoteInterface { log.error("getTableColumnsOfTableName222.sql:{}", sql); Map rs = databaseUtils.execute("LOGIC", "weaver-ebuilder-form-service", sql); List> recordList = databaseUtils.getDataSourceList(rs); - log.error("getTableColumnsOfTableName.recordList:{}", recordList); + //log.error("getTableColumnsOfTableName.recordList:{}", recordList); return extractFieldNames(recordList); }