public class OperationCheckInActivityInfo : OperationBase { public int ActType; // 活动类型,用于关联活动相关模块用,如签到、任务等 public int CfgID; // 活动时间表配置ID public override string ToDisplayTime() { var textBuilder = OperationTimeHepler.textBuilder; textBuilder.Length = 0; textBuilder.Append(startDate.ToDisplay(false)); textBuilder.Append(" 00:00:00"); if (startDate != endDate) { textBuilder.Append("-"); textBuilder.Append(endDate.ToDisplay(false)); textBuilder.Append(" 23:59:59"); } return textBuilder.ToString(); } }