Explorar el Código

注册员工
生成Number 修改

leiy hace 1 año
padre
commit
7470241739

+ 2 - 2
OASystem/OASystem.Infrastructure/Repositories/Login/LoginRepository.cs

@@ -102,8 +102,8 @@ namespace OASystem.Infrastructure.Repositories.Login
             string IdCrad = registerDto.IdCrad;
             string birthDay = IdCrad.Substring(6, 4) + "-" + IdCrad.Substring(10, 2) + "-" + IdCrad.Substring(12, 2);
 
-            //string number = await CreateNumber(registerDto.DepId);
-            string number = "10001";
+            string number = await CreateNumber(registerDto.DepId);
+            //string number = "10001";
             if (string.IsNullOrEmpty(number))
             {
                 result.Code = -2;