Explorar el Código

保存是吧

娄底高职分支
ndbs hace 2 años
padre
commit
4f535f20d0
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/RecruiterPeopleApi.cs

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/RecruiterPeopleApi.cs Ver fichero

@@ -168,16 +168,16 @@ namespace Learun.Application.WebApi
WorkStaffEntity entity = model.strEntity.ToObject<WorkStaffEntity>();
var models = workStaffIBLL.GetIDCard(entity.IdentityCardNo);

if (string.IsNullOrEmpty(models.ID))
if (string.IsNullOrEmpty(model.keyValue))
{
if (model != null)
if (models != null)
{
return Fail("身份证号已存在!");
}
}
else
{
if (model != null && models.ID != entity.ID)
if (models != null && models.ID != model.keyValue)
{
return Fail("身份证号已存在!");
}


Cargando…
Cancelar
Guardar