/// <summary> /// 查询设备明细信息报表 /// </summary> /// <returns>DataTable</returns> public static DataTable GetEquipmentDetailInfoAll(EquipMnetInfoModel equip_M, string ord, string BuyEndDate) { try { return(EquipMentInfoDBHelper.GetEquipmentDetailInfoAll(equip_M, ord, BuyEndDate)); } catch (System.Exception ex) { throw ex; } }
/// <summary> /// 查询设备明细信息报表 /// </summary> /// <returns>DataTable</returns> public static DataTable GetEquipmentReportInfo(EquipMnetInfoModel equip_M, string EndDate, int pageIndex, int pageCount, string ord, ref int TotalCount) { try { return(EquipMentInfoDBHelper.GetEquipmentReportInfo(equip_M, EndDate, pageIndex, pageCount, ord, ref TotalCount)); } catch (System.Exception ex) { throw ex; } }
/// <summary> /// 查询设备汇总信息列表(金额合计) /// </summary> /// <returns>DataTable</returns> public static DataTable GetEquipmentTotalSumTableBycondition(EquipMnetInfoModel equip_M) { try { return(EquipMentInfoDBHelper.GetEquipmentTotalSumTableBycondition(equip_M)); } catch (System.Exception ex) { throw ex; } }
/// <summary> /// 查询设备汇总信息列表 /// </summary> /// <returns>DataTable</returns> public static DataTable GetEquipmentTotalInfoBycondition(EquipMnetInfoModel equip_M, string EquipPre, int Eplength, int pageIndex, int pageCount, string ord, ref int TotalCount) { try { return(EquipMentInfoDBHelper.GetEquipmentTotalTableBycondition(equip_M, EquipPre, Eplength, pageIndex, pageCount, ord, ref TotalCount)); } catch (System.Exception ex) { throw ex; } }
/// <summary> /// 添加设备和配件 /// </summary> /// <param name="EquipModel">设备信息</param> /// <returns>添加是否成功 false:失败,true:成功</returns> public static bool AddEquipAndFitInfo(EquipMnetInfoModel EquipModel, string FitInfo) { return(EquipMentInfoDBHelper.AddEquipMnetAndFitInfo(EquipModel, FitInfo)); }
/// <summary> /// 修改设备信息(无配件) /// </summary> /// <param name="EquipModel">设备信息</param> /// <returns>添加是否成功 false:失败,true:成功</returns> public static bool UpdateEquipInfo(EquipMnetInfoModel EquipModel) { return(EquipMentInfoDBHelper.UpdateEquipMnetInfo(EquipModel)); }
/// <summary> /// 添加设备信息(无配件) /// </summary> /// <param name="EquipModel">设备信息</param> /// <returns>添加是否成功 false:失败,true:成功</returns> public static bool AddEquipInfo(EquipMnetInfoModel EquipModel) { return(EquipMentInfoDBHelper.AddEquipMnetInfo(EquipModel)); }