feat: idCardHash匹配、Roster分页过滤、社保基数调整修复、Modal size支持、Termination版本对比、UI优化

This commit is contained in:
freedakgmail
2026-07-23 23:26:10 +08:00
parent 32a57873cf
commit 559a567b9b
38 changed files with 4068 additions and 205 deletions
+3
View File
@@ -173,6 +173,7 @@ model Employee {
gender String?
phone String?
idCardNumber String? // AES-256 加密存储
idCardHash String? // SHA-256 哈希,用于按身份证号查询匹配
emergencyContact String?
emergencyPhone String?
address String?
@@ -209,6 +210,8 @@ model Employee {
socialInsRecords EmployeeSocialInsRecord[]
housingFundRecords EmployeeHousingFundRecord[]
departmentRecords EmployeeDepartmentRecord[]
@@unique([orgId, idCardHash])
}
model LaborContract {