瀏覽代碼

保存是吧

娄底高职分支
ndbs 2 年之前
父節點
當前提交
4f535f20d0
共有 1 個檔案被更改,包括 3 行新增3 行删除
  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 查看文件

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


Loading…
取消
儲存