Ver código fonte

保存是吧

娄底高职分支
ndbs 2 anos atrás
pai
commit
4f535f20d0
1 arquivos alterados com 3 adições e 3 exclusões
  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 arquivo

@@ -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("身份证号已存在!");
}


Carregando…
Cancelar
Salvar