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.

25 lines
825 B

  1. using Swift.DAL.SwiftDAL;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Data;
  5. using System.Linq;
  6. using System.Text;
  7. namespace Swift.DAL.Remittance.Amendment
  8. {
  9. public class AmendmentDao : RemittanceDao
  10. {
  11. public DataSet GetAmendmentReport(string user, string customerId, string rowId,string changeType,string receiverId)
  12. {
  13. string sql = "EXEC PROC_AMENDMENTLIST";
  14. sql += " @flag = 'NEW-CHANGE'";
  15. sql += ", @user = " + FilterString(user);
  16. sql += ", @customerId = " + FilterString(customerId);
  17. sql += ", @rowId= " + FilterString(rowId);
  18. sql += ", @changeType = " + FilterString(changeType);
  19. sql += ", @receiverId = " + FilterString(receiverId);
  20. return ExecuteDataset(sql);
  21. }
  22. }
  23. }