相关bug调整

This commit is contained in:
fuenmao
2026-09-18 16:08:14 +08:00
parent ab0248d73d
commit fa48e73b84
4 changed files with 90 additions and 4 deletions
@@ -345,6 +345,8 @@ public class OnboardingEmployeeService : IOnboardingEmployeeService
.Where(item => item > 0)
.Distinct()
.ToList();
if (fileIds.Count > 10)
throw Oops.Bah("转正材料文件总数不能超过 10 份");
var files = fileIds.Count == 0
? new List<SysFile>()
: await _db.Queryable<SysFile>()