Commit d9939653 by 钟博

工作量配置修改问题

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