From febc236274ebc5df78770ddfa500b76b49406fe0 Mon Sep 17 00:00:00 2001 From: Administrator <704728292@qq.com> Date: Wed, 18 Jun 2025 11:11:16 +0800 Subject: [PATCH] =?UTF-8?q?eb=E8=A1=A8=E5=8D=95=E9=80=BB=E8=BE=91=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=A2=9E=E5=8A=A0ft=5Fstatus=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=BA1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jcl/organization/esb/SyncXxbgPersonInfo.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 bf4a646..f4b2526 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 @@ -372,7 +372,7 @@ public class SyncXxbgPersonInfo implements EsbServerlessRpcRemoteInterface { log.error("updateAllXxbgDetailInfo.uf_jcl_emp_gzll:{}", uf_jcl_emp_gzll); //先删除原来记录(只能逻辑删除,更新时间也必须加上) - String sql = "update "+uf_jcl_emp_gzll+" set delete_type = 1,update_time ='" + nowData + "' where FORM_DATA_ID = "+ygxxid ; + String sql = "update "+uf_jcl_emp_gzll+" set delete_type = 1,is_delete = 1,ft_status = 1,update_time ='" + nowData + "' where FORM_DATA_ID = "+ygxxid ; deleteDetailData(sql); /** * 工作履历表 @@ -416,7 +416,7 @@ public class SyncXxbgPersonInfo implements EsbServerlessRpcRemoteInterface { log.error("updateAllXxbgDetailInfo.uf_jcl_emp_jyjl:{}", uf_jcl_emp_jyjl); //先删除原来记录 - sql = "update "+uf_jcl_emp_jyjl+" set delete_type = 1,update_time ='" + nowData + "' where FORM_DATA_ID = "+ygxxid; + sql = "update "+uf_jcl_emp_jyjl+" set delete_type = 1,is_delete = 1,ft_status = 1,update_time ='" + nowData + "' where FORM_DATA_ID = "+ygxxid; deleteDetailData(sql); String jysql = "select * from "+uf_jcl_employ4991+" where FORM_DATA_ID = '" + lcid + "' and delete_type=0"; List> jyjlInfo = getYgxxDetailInfo(jysql); @@ -457,7 +457,7 @@ public class SyncXxbgPersonInfo implements EsbServerlessRpcRemoteInterface { log.error("updateAllXxbgDetailInfo.uf_jcl_emp_jtxx:{}", uf_jcl_emp_jtxx); //先删除原来记录 - sql = "update "+uf_jcl_emp_jtxx+" set delete_type = 1,update_time ='" + nowData + "' where FORM_DATA_ID = "+ygxxid; + sql = "update "+uf_jcl_emp_jtxx+" set delete_type = 1,is_delete = 1,ft_status = 1,update_time ='" + nowData + "' where FORM_DATA_ID = "+ygxxid; deleteDetailData(sql); String jtxxsql = "select * from "+uf_jcl_employ5051+" where FORM_DATA_ID = '" + lcid + "' and delete_type=0"; List> jtxxInfo = getYgxxDetailInfo(jtxxsql); @@ -498,7 +498,7 @@ public class SyncXxbgPersonInfo implements EsbServerlessRpcRemoteInterface { log.error("updateAllXxbgDetailInfo.uf_jcl_emp_bzyjl:{}", uf_jcl_emp_bzyjl); //先删除原来记录 - sql = "update "+uf_jcl_emp_bzyjl+" set delete_type = 1,update_time ='" + nowData + "' where FORM_DATA_ID = "+ygxxid; + sql = "update "+uf_jcl_emp_bzyjl+" set delete_type = 1,is_delete = 1,ft_status = 1,update_time ='" + nowData + "' where FORM_DATA_ID = "+ygxxid; deleteDetailData(sql); String bzsql = "select * from "+uf_jcl_employ5105+" where FORM_DATA_ID = '" + lcid + "' and delete_type=0"; List> bzInfo = getYgxxDetailInfo(bzsql); @@ -539,7 +539,7 @@ public class SyncXxbgPersonInfo implements EsbServerlessRpcRemoteInterface { log.error("updateAllXxbgDetailInfo.uf_jcl_emp_pxjl:{}", uf_jcl_emp_pxjl); //先删除原来记录 - sql = "update "+uf_jcl_emp_pxjl+" set delete_type = 1,update_time ='" + nowData + "' where FORM_DATA_ID = "+ygxxid; + sql = "update "+uf_jcl_emp_pxjl+" set delete_type = 1,is_delete = 1,ft_status = 1,update_time ='" + nowData + "' where FORM_DATA_ID = "+ygxxid; deleteDetailData(sql); String pxsql = "select * from "+uf_jcl_employ5165+" where FORM_DATA_ID = '" + lcid + "' and delete_type=0"; List> pxInfo = getYgxxDetailInfo(pxsql); @@ -580,7 +580,7 @@ public class SyncXxbgPersonInfo implements EsbServerlessRpcRemoteInterface { log.error("updateAllXxbgDetailInfo.uf_jcl_emp_yynl:{}", uf_jcl_emp_yynl); //先删除原来记录 - sql = "update "+uf_jcl_emp_yynl+" set delete_type = 1,update_time ='" + nowData + "' where FORM_DATA_ID = "+ygxxid; + sql = "update "+uf_jcl_emp_yynl+" set delete_type = 1,is_delete = 1,ft_status = 1,update_time ='" + nowData + "' where FORM_DATA_ID = "+ygxxid; deleteDetailData(sql); String yysql = "select * from "+uf_jcl_employ5218+" where FORM_DATA_ID = '" + lcid + "' and delete_type=0"; List> yyInfo = getYgxxDetailInfo(yysql); @@ -621,7 +621,7 @@ public class SyncXxbgPersonInfo implements EsbServerlessRpcRemoteInterface { log.error("updateAllXxbgDetailInfo.uf_jcl_emp_qwjgzgrz:{}", uf_jcl_emp_qwjgzgrz); //先删除原来记录 - sql = "update "+uf_jcl_emp_qwjgzgrz+" set delete_type = 1,update_time ='" + nowData + "' where FORM_DATA_ID = "+ygxxid; + sql = "update "+uf_jcl_emp_qwjgzgrz+" set delete_type = 1,is_delete = 1,ft_status = 1,update_time ='" + nowData + "' where FORM_DATA_ID = "+ygxxid; deleteDetailData(sql); String qwsql = "select * from "+uf_jcl_employ5265+" where FORM_DATA_ID = '" + lcid + "' and delete_type=0"; List> qwInfo = getYgxxDetailInfo(qwsql);