Commit 5723f016 by 李承祥

Merge branch 'develop' of http://192.168.0.110:8880/zry/performance into develop

parents 1eb60652 09cbeae5
...@@ -207,7 +207,7 @@ public ApiResponse AllotCheckResult([CustomizeValidator(RuleSet = "Delete"), Fro ...@@ -207,7 +207,7 @@ public ApiResponse AllotCheckResult([CustomizeValidator(RuleSet = "Delete"), Fro
if (null == allot) if (null == allot)
throw new PerformanceException("当前绩效记录不存在"); throw new PerformanceException("当前绩效记录不存在");
var list = _allotService.AllotCheckResult(allot); 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) ...@@ -146,6 +146,7 @@ public UserResponse Insert(UserRequest request, int userid)
user.CreateUser = userid; user.CreateUser = userid;
user.States = (int)States.Enabled; user.States = (int)States.Enabled;
user.Department = request.Department; user.Department = request.Department;
user.IsDelete = 1;
if (!_userRepository.Add(user)) if (!_userRepository.Add(user))
throw new PerformanceException("保存失败"); 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