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