请问一下现在我的任务是编写这个函数HdisHelper.CreateSummary,功能是选择是本院开始还是开始的对象
var hdDate = string.Empty;if (dto.HDStartDate.HasValue && dto.HDStartDate.Value > DateTime.MinValue)
hdDate = string.Format("开始({0})", dto.HDStartDate.Value.ToString("yyyy-MM-dd"));
var localHDDate = string.Empty;
if (dto.LocalHDStartDate.HasValue && dto.LocalHDStartDate.Value > DateTime.MinValue)
localHDDate = string.Format("本院开始({0})", dto.LocalHDStartDate.Value.ToString("yyyy-MM-dd"));
info.InfoViewDto.HDDate = HdisHelper.CreateSummary("、", hdDate, localHDDate);