/// 根据查询条件获取已审批的费用申请单列表 public static DataTable GetExpensesApplyAuditList(ExpensesApplyModel expApplyModel, int empid, DateTime?AriseDate1, int pageIndex, int pageCount, string ord, ref int TotalCount) { return(ExpensesDBHelper.GetExpensesApplyAuditList(expApplyModel, empid, AriseDate1, pageIndex, pageCount, ord, ref TotalCount)); }
/// <summary> /// 修改费用申请单 /// </summary> /// <param name="expApplyModel">费用主表Model</param> /// <param name="expDetailModelList">费用明细表Model</param> /// <param name="strMsg">消息字符串</param> /// <returns></returns> public static bool UpdateExpensesApply(ExpensesApplyModel expApplyModel, List <ExpDetailsModel> expDetailModelList, out string strMsg) { return(ExpensesDBHelper.UpdateExpensesApply(expApplyModel, expDetailModelList, out strMsg)); }
/// <summary> /// 根据查询条件,获取所以符合条件记录的金额合计 /// </summary> /// <param name="expApplyMOdel">ExpensesApplyModel实体</param> /// <param name="empid"></param> /// <param name="AriseDate1"></param> /// <param name="FlowStatus"></param> /// <returns></returns> public static DataTable GetExpSumTotal(ExpensesApplyModel expApplyMOdel, int empid, DateTime?AriseDate1, string FlowStatus) { return(ExpensesDBHelper.GetExpSumTotal(expApplyMOdel, empid, AriseDate1, FlowStatus)); }