using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.IBaseDAL;
using CY.Model;
using CY.Infrastructure.Query;
namespace CY.IDAL
{
///
/// 办公系统厂商账户表-数据库操作接口
///
public interface IOA_FirmAccountRecordDAL : ICommonDAL, IPaging, IGetAllModel
{
///
/// 分页查询
///
///
///
///
///
///
///
///
///
///
///
///
///
IEnumerable SelectModelPage(Pagination pa, Guid FirmId, DateTime? RegTimeStart, DateTime? RegTimeEnd, string AccountName, string AcoountType, string Operator, string SubjectId, string RecordTypeId, string PaymentUnit, string OperationalMatters);
///
/// 金额统计
///
///
///
///
///
///
///
///
///
///
///
///
Model.OA_FirmAccountRecord SumRecordMoney(Pagination pa, Guid FirmId, DateTime? RegTimeStart, DateTime? RegTimeEnd, string AccountName, string AcoountType, string Operator, string SubjectId, string RecordTypeId, string PaymentUnit);
///
/// 获取单个账户支出收益表
///
///
///
///
Model.OA_FirmAccountRecord SelectSingleModel(string Keyid, Guid FirmId);
///
/// 添加收入/支出记录
///
///
///
bool AddModel(OA_FirmAccountRecord model, OA_FirmAccount m_OA_FirmAccount);
///
/// 添加收入/支出记录,并更改会员状态
///
///
///
///
///
bool AddModel(OA_FirmAccountRecord model, OA_FirmAccount m_OA_FirmAccount, EC_MemberBasic memberBasic, EC_PaymentRecord paymentRecord);
///
/// 账户转账
///
///
///
///
///
///
bool AccountOToO(OA_FirmAccount m_OA_FirmAccountIn, OA_FirmAccount m_OA_FirmAccountOut, OA_FirmAccountRecord m_OA_FirmAccountRecordIn, OA_FirmAccountRecord m_OA_FirmAccountRecordOut);
///
/// 订单收款
///
/// 账户编号
/// 操作金额
/// 科目编号
/// 支付时间
/// 支付方
/// 操作人
///
bool OrderReceivables(int? accountId, decimal? money, int? subjectId, DateTime? payTime, string PaymentUnit, string Operator);
///
/// 更具ID数据获取列表
///
///
///
///
IEnumerable SelectModelListByKeyids(Guid FirmId, string keyids);
}
}