/// <summary> /// 获取映射对象 /// </summary> /// <param name="id">映射ID</param> /// <returns>映射对象</returns> public Mapping GetMapping(int id) { return(mappingRepository.Get(id)); }