eb表单逻辑删除增加ft_status字段更新为1
This commit is contained in:
parent
ea19d0035e
commit
febc236274
|
|
@ -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<Map<String, Object>> 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<Map<String, Object>> 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<Map<String, Object>> 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<Map<String, Object>> 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<Map<String, Object>> 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<Map<String, Object>> qwInfo = getYgxxDetailInfo(qwsql);
|
||||
|
|
|
|||
Loading…
Reference in New Issue