Commit 9412cbcf by 钟博

Merge branch '工作量配置显示' into v20201230yubei

parents 6006faee d9939653
...@@ -410,7 +410,7 @@ public cof_workitem WorkItemUpdate(WorkItemRequest request) ...@@ -410,7 +410,7 @@ public cof_workitem WorkItemUpdate(WorkItemRequest request)
throw new PerformanceException($"ID不存在 :{request.ID}"); throw new PerformanceException($"ID不存在 :{request.ID}");
workyear.Item = request.Item; workyear.Item = request.Item;
workyear.Type = request.Type;
if (!_workitemRepository.Update(workyear)) if (!_workitemRepository.Update(workyear))
throw new PerformanceException("保存失败"); throw new PerformanceException("保存失败");
return Mapper.Map<cof_workitem>(workyear); return Mapper.Map<cof_workitem>(workyear);
......
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