diff --git a/Swift.DAL/Remittance/OFACManagement/OFACDao.cs b/Swift.DAL/Remittance/OFACManagement/OFACDao.cs index 3f73f78..3bff0a5 100644 --- a/Swift.DAL/Remittance/OFACManagement/OFACDao.cs +++ b/Swift.DAL/Remittance/OFACManagement/OFACDao.cs @@ -63,9 +63,17 @@ namespace Swift.DAL.BL.Remit.OFACManagement return ParseDbResultV2(sql); } + public DataRow UploadXMLData(string xml, string user) + { + var sql = "EXEC proc_ofacOtherDataManagement @flag = 'other'"; + sql += " ,@user=" + FilterString(user); + sql += " ,@xml='" + xml + "'"; + return ExecuteDataRow(sql); + } + public DbResult UpdateAQList(string user, string xmlFile,string xmlFileName, string source) { - var sql = "EXEC Proc_unscrManagement @flag = 'unscr'"; + var sql = "EXEC Proc_UKListManagement @flag = 'ofac-list'"; sql += ", @user = " + FilterString(user); sql += ", @xmlFile = " + FilterString(xmlFile); sql += ", @xmlFileName = " + FilterString(xmlFileName); diff --git a/Swift.web/Remit/OFACManagement/Import.aspx b/Swift.web/Remit/OFACManagement/Import.aspx index 3d8abcd..0709461 100644 --- a/Swift.web/Remit/OFACManagement/Import.aspx +++ b/Swift.web/Remit/OFACManagement/Import.aspx @@ -18,76 +18,91 @@