Exemple #1
0
 /// <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();
 }
Exemple #3
0
 /// <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>());
 }