劳务转自招生效日 同步员工性质

dev-chenwnj
howec 1 year ago
parent dac18c51c5
commit bf1d6375ce

@ -76,15 +76,16 @@ public class FlowLaowuZzService {
recordSetb_1.executeUpdate(insertsql,1,-1,"HrmCustomFieldByInfoType",uid);
log.error("howec:::::::::::::::::5:"+insertsql);
}else {
String sqlx = "select "+zzzygxz+" from cus_fielddata where scopeid = -1 and scope = 'HrmCustomFieldByInfoType' and id = "+uid;
log.error("howec:::::::::::::::::6:"+sqlx);
recordSetd1.executeQuery(sqlx);
recordSetd1.next();
String zzzygxz2 = recordSetd1.getString(zzzygxz);
if(zzzygxz2.length() == 0) {
String sql5 = "update cus_fielddata set "+zzzygxz+" = '1' where scopeid = -1 and scope = 'HrmCustomFieldByInfoType' and id = "+uid;
recordSetd.executeUpdate(sql5);
log.error("sql5 =::::::::::::5:"+sql5);
String sql3 = "select "+zzzrzlx+","+zzzsxrq+" from cus_fielddata where scopeid = 3 and scope = 'HrmCustomFieldByInfoType' and id = "+uid;
log.error("sql3x =::::::::::::3:"+sql3);
recordSetd1.executeQuery(sql3);
while (recordSetd1.next()) {
String zzzrzlx1 = recordSetd1.getString(zzzrzlx);//入职类型
if(("1".equals(zzzrzlx1))) {
String sql5 = "update cus_fielddata set "+zzzygxz+" = '1' where scopeid = -1 and scope = 'HrmCustomFieldByInfoType' and id = "+uid;
recordSetd.executeUpdate(sql5);
log.error("sql5x =::::::::::::5:"+sql5);
}
}
}
//更新入职日期

Loading…
Cancel
Save