49 lines
1.6 KiB
C#
49 lines
1.6 KiB
C#
using YLErp.DBModels;
|
|
using YLErp.DBModels.Abstract;
|
|
|
|
namespace YLErp.Abstract
|
|
{
|
|
public interface IContractBLL
|
|
{
|
|
/// <summary>
|
|
/// 删除确认书
|
|
/// </summary>
|
|
void DeleteConfirmBook(int tradeId, string contractType = "交易确认书");
|
|
|
|
/// <summary>
|
|
/// 获取所有文档
|
|
/// </summary>
|
|
IEnumerable<ITradeContractDocument> GetAllContractDocs(int tradeId);
|
|
|
|
/// <summary>
|
|
/// 获取确认书
|
|
/// </summary>
|
|
ITradeContractDocument GetContractDoc(int tradeId, string contractType, int tradeCashId = 0, DateTime? valueDate = null);
|
|
|
|
/// <summary>
|
|
/// 获取确认书
|
|
/// </summary>
|
|
IEnumerable<ITradeContractDocument> GetContractDoc(int clientId, string contractType, DateTime valueDate);
|
|
|
|
/// <summary>
|
|
/// 获取确认书
|
|
/// </summary>
|
|
Dictionary<long, ITradeContractDocument> GetContractDocDic(List<long> swapFlowEventIss, string contractType, DateTime valueDate);
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
string GetContractNo(string ruleId);
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
int GetRuleIndex(string ruleId, int beginIndex = 1);
|
|
|
|
/// <summary>
|
|
/// 检查相同合约书号是否对应的相同客户相同交易方向的确认书编号(买卖方向)
|
|
/// </summary>
|
|
bool HasRepeatContractCodeForDiffClient(string ContractCode, string clientName, string BuySell, out string TradeNumber);
|
|
|
|
trade_contract_r GetTrade_Contract_R(int tradeId);
|
|
}
|
|
} |