逻辑调整
This commit is contained in:
+9
@@ -141,6 +141,15 @@ public class OnboardingTaskContractVariableService : IOnboardingTaskContractVari
|
||||
{
|
||||
await _db.Updateable(rows)
|
||||
.ExecuteCommandAsync();
|
||||
|
||||
// 人事参数变化后,原合同文件和员工确认必须失效,避免员工确认旧内容。
|
||||
contract.GeneratedDocxFileId = null;
|
||||
contract.GeneratedPdfFileId = null;
|
||||
contract.GeneratedAt = null;
|
||||
contract.ReadAt = null;
|
||||
contract.ConfirmedAt = null;
|
||||
contract.ContractStatus = TaskContractStatus.PendingGenerate;
|
||||
await _db.Updateable(contract).ExecuteCommandAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user