/// <summary> /// 更新统计报表类型 /// </summary> /// <param name="type"></param> public void UpdateFnStatisticsType(Model.FinancialStatistics.FnStatisticsType type) { IFnStatisticsDao.Instance.UpdateFnStatisticsType(type); }
public override void UpdateFnStatisticsType(Model.FinancialStatistics.FnStatisticsType type) { Context.Update("FnStatisticsType", type).AutoMap(p => p.SysNo).Where(p => p.SysNo).Execute(); }
/// <summary> /// 添加统计报表类型 /// </summary> /// <param name="type"></param> /// <returns></returns> public int InsertFnStatisticsType(Model.FinancialStatistics.FnStatisticsType type) { return(IFnStatisticsDao.Instance.InsertFnStatisticsType(type)); }
public override int InsertFnStatisticsType(Model.FinancialStatistics.FnStatisticsType type) { return(Context.Insert("FnStatisticsType", type).AutoMap(p => p.SysNo).ExecuteReturnLastId <int>()); }