bug修改

parent afbdbe8f
......@@ -207,7 +207,7 @@ public ApiResponse AllotCheckResult([CustomizeValidator(RuleSet = "Delete"), Fro
if (null == allot)
throw new PerformanceException("当前绩效记录不存在");
var list = _allotService.AllotCheckResult(allot);
return new ApiResponse(ResponseType.OK);
return new ApiResponse(ResponseType.OK, list);
}
}
}
......@@ -146,6 +146,7 @@ public UserResponse Insert(UserRequest request, int userid)
user.CreateUser = userid;
user.States = (int)States.Enabled;
user.Department = request.Department;
user.IsDelete = 1;
if (!_userRepository.Add(user))
throw new PerformanceException("保存失败");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment