public static DataTable GetCarDispatchByIDPrint(string DispatchID) { try { return(CarDispatchDBHelper.GetCarDispatchByIDPrint(DispatchID)); } catch (System.Exception ex) { throw ex; } }
/// <summary> /// 获取车辆派送数据 /// </summary> /// <returns>DataTable</returns> public static DataTable GetCarDispatchList(string CompanyID, string RecordNo, string DispatchTitle, string ApplyID, string CarNo, string CarMark, string IfReturn, int pageIndex, int pageCount, string ord, ref int TotalCount) { try { return(CarDispatchDBHelper.GetCarDispatchList(CompanyID, RecordNo, DispatchTitle, ApplyID, CarNo, CarMark, IfReturn, pageIndex, pageCount, ord, ref TotalCount)); } catch (System.Exception ex) { throw ex; } }
/// <summary> /// 添加车辆派送信息 /// </summary> /// <param name="CarDispatchM">车辆派送信息</param> /// <returns>添加是否成功 false:失败,true:成功</returns> public static bool InsertCarDispatchInfoData(CarDispatchModel CarDispatchM, out int RetValID) { return(CarDispatchDBHelper.InsertCarDispatchInfoData(CarDispatchM, out RetValID)); }
/// <summary> /// 获取请车单据号下拉列表 /// </summary> /// <returns></returns> public static DataTable GetAllCarApplyNo(string CompanyCD) { return(CarDispatchDBHelper.GetAllCarApplyNo(CompanyCD)); }
/// <summary> /// 获取请车单据号下拉列表 /// </summary> /// <returns></returns> public static DataTable GetCarApplyNo(string CompanyCD, int EmployeeID) { return(CarDispatchDBHelper.GetCarApplyNo(CompanyCD, EmployeeID)); }
/// <summary> /// 更新车辆派送信息 /// </summary> /// <param name="CarDispatchM">车辆派送信息</param> /// <returns>添加是否成功 false:失败,true:成功</returns> public static bool UpdateCarDispatchInfoData(CarDispatchModel CarDispatchM) { return(CarDispatchDBHelper.UpdateCarDispatchInfoData(CarDispatchM)); }
/// <summary> /// 更新车辆归还信息 /// </summary> /// <param name="CarDispatchM">车辆归还信息</param> /// <returns>添加是否成功 false:失败,true:成功</returns> public static bool UpdateCarDispatchInfoData(CarDispatchModel CarDispatchM, string DispatchID) { return(CarDispatchDBHelper.UpdateCarDispatchInfoData(CarDispatchM, DispatchID)); }