You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Swift.DAL.SwiftDAL;
|
|
|
|
namespace Swift.DAL.BL.Remit.ExchangeRate
|
|
{
|
|
public class CrossRateDao : SwiftDao
|
|
{
|
|
public DataTable FindCrossRate(string user, string ssAgent, string sCountry, string sAgent, string sBranch, string rsAgent, string rCountry, string rAgent, string rBranch, string listType)
|
|
{
|
|
var sql = "EXEC proc_crossExchangeRate";
|
|
sql += " @user = " + FilterString(user);
|
|
sql += ", @listType = " + FilterString(listType);
|
|
sql += ", @ssAgent = " + FilterString(ssAgent);
|
|
sql += ", @sCountry = " + FilterString(sCountry);
|
|
sql += ", @sAgent = " + FilterString(sAgent);
|
|
sql += ", @sBranch = " + FilterString(sBranch);
|
|
sql += ", @rsAgent = " + FilterString(rsAgent);
|
|
sql += ", @rCountry = " + FilterString(rCountry);
|
|
sql += ", @rAgent = " + FilterString(rAgent);
|
|
sql += ", @rBranch = " + FilterString(rBranch);
|
|
|
|
return ExecuteDataset(sql).Tables[0];
|
|
}
|
|
}
|
|
}
|