修改配置文件,统一实体编码规则

This commit is contained in:
2022-05-30 16:08:32 +08:00
parent 46ef7cbb4a
commit 29f4a73168
14 changed files with 126 additions and 128 deletions
@@ -77,7 +77,7 @@ namespace IRaCIS.Application.Services
doctor.Code = (await _doctorRepository.MaxAsync(t => t.Code)) + 1;
doctor.ReviewerCode = AppSettings.CodePrefix + doctor.Code.ToString("D4");
doctor.ReviewerCode = AppSettings.GetCodeStr(doctor.Code,nameof(Doctor)) ;
doctor.Password = MD5Helper.Md5(doctor.Phone);