常用方法
常用方法
常用方法
常用方法
/// <summary> /// 根据日期获取当前结算周期 /// </summary> /// <returns></returns> private static SettlementCycle GetCurrentBilingTime() { var settlementCycle = _iSiteSettingService.GetSiteSettings().WeekSettlement; var end = _iBillingService.GetLastSettlementTime(); return(GetDateBilingTime(settlementCycle, end, DateTime.Now)); }