Commit 1318b331 authored by chenyuxi's avatar chenyuxi

feat: 瓜子档案审核通过有待签署的合同也更新offer的入职日期

parent 76639397
......@@ -371,6 +371,12 @@ public class TGzOfferInfoServiceImpl extends ServiceImpl<TGzOfferInfoMapper, TGz
}
// 合同已提交待审核
if(CommonConstants.ONE_INTEGER.equals(contractInfo.getAuditStatus())){
// 1.7.13: 待签署 更新 入职日期为合同开始时间
LambdaUpdateWrapper<TGzOfferInfo> updateOfferWrapper = new LambdaUpdateWrapper<>();
updateOfferWrapper.eq(TGzOfferInfo::getId, offerId)
.set(TGzOfferInfo::getExpEntryDate, contractInfo.getContractStart());
this.update(null, updateOfferWrapper);
return CommonConstants.THIRTEEN_STRING;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment