Commit 9ff97f79 by zhouhaibao

[+]试用期月份字段取值调整

1 parent 42ffaecb
...@@ -762,14 +762,16 @@ public class BeiSenService { ...@@ -762,14 +762,16 @@ public class BeiSenService {
} else { } else {
beisenEmployeeInfonew.setMerchantName(s3); beisenEmployeeInfonew.setMerchantName(s3);
} }
String s4 = customProperties.get(beiSenProperty.getRegularizationMonth()); /* String s4 = customProperties.get(beiSenProperty.getRegularizationMonth());
BigDecimal regularizationMonth = NumberUtils.safeParseBigDecimal(s4); BigDecimal regularizationMonth = NumberUtils.safeParseBigDecimal(s4);
if (regularizationMonth == null) { if (regularizationMonth == null) {
log.info("北森员工{},regularizationMonth 为空或非数字: '{}'", employeeInfo.getName(), s4); log.info("北森员工{},regularizationMonth 为空或非数字: '{}'", employeeInfo.getName(), s4);
} else { } else {
beisenEmployeeInfonew.setRegularizationMonth(regularizationMonth.intValue()); beisenEmployeeInfonew.setRegularizationMonth(regularizationMonth.intValue());
} }*/
} }
Integer probation = recordInfo.getProbation();
beisenEmployeeInfonew.setRegularizationMonth(probation);
beisenEmployeeInfonew.setOfficialDate(recordInfo.getRegularizationDate()); beisenEmployeeInfonew.setOfficialDate(recordInfo.getRegularizationDate());
if (recordInfo.getPOIdEmpAdmin()!=null) { if (recordInfo.getPOIdEmpAdmin()!=null) {
beisenEmployeeInfonew.setDirectLeaderUserId(recordInfo.getPOIdEmpAdmin() + ""); beisenEmployeeInfonew.setDirectLeaderUserId(recordInfo.getPOIdEmpAdmin() + "");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!