diff --git a/Deployment/16228/proc_approveOFACCompliance.sql b/Deployment/16228/proc_approveOFACCompliance.sql deleted file mode 100644 index 5ef5be0..0000000 Binary files a/Deployment/16228/proc_approveOFACCompliance.sql and /dev/null differ diff --git a/Deployment/16228/proc_transactionView.sql b/Deployment/16228/proc_transactionView.sql deleted file mode 100644 index 788e381..0000000 Binary files a/Deployment/16228/proc_transactionView.sql and /dev/null differ diff --git a/Deployment/17825/GetUserInfo.sql b/Deployment/17825/GetUserInfo.sql deleted file mode 100644 index b5af43a..0000000 --- a/Deployment/17825/GetUserInfo.sql +++ /dev/null @@ -1,90 +0,0 @@ - -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO - -ALTER PROCEDURE [dbo].[GetUserInfo] -( - @FLAG VARCHAR(20) - ,@customerId VARCHAR(200) = NULL - ,@username VARCHAR(100) = NULL - ,@idNumber VARCHAR(100) = NULL - ,@dob VARCHAR(100) = NULL - ,@mobile VARCHAR(100) = NULL - ,@emailId VARCHAR(500) = NULL - ,@tranId VARCHAR(500) = NULL -) -AS - -BEGIN - IF @FLAG = 'basic-reg' - BEGIN - - DECLARE @MEMBESHIP_ID VARCHAR(50) = NULL; - IF EXISTS ( - SELECT * - FROM dbo.customerMastertemp(NOLOCK) - WHERE username = @emailId - AND membershipId IS NULL - ) - BEGIN - EXEC PROC_GENERATE_MEMBERSHIP_ID @CUSTOMERID = 0 - ,@USER = 'mobile' - ,@loginBranchId = 0 - ,@MEMBESHIP_ID = @MEMBESHIP_ID OUT - - UPDATE dbo.customerMasterTemp - SET MEMBERSHIPID = @MEMBESHIP_ID - WHERE username = @emailId - - SELECT CONCAT(ISNULL(firstName,''), ' ', ISNULL(middleName,''), ' ', ISNULL(lastName1,'')) AS fullName, customerId, membershipId, firstName, ISNULL(middleName,'') AS middleName, - lastName1, mobile, - CONCAT(ISNULL(zipCode,postalCode), ' ', ISNULL(city,''), ' ',ISNULL(address,'')) AS address, email, createdDate FROM customerMastertemp WHERE email = @emailId --and mobile = @mobile - - END - ELSE - BEGIN - SELECT CONCAT(ISNULL(firstName,''), ' ', ISNULL(middleName,''), ' ', ISNULL(lastName1,'')) AS fullName, customerId, membershipId, firstName, ISNULL(middleName,'') AS middleName, - lastName1, mobile, - CONCAT(ISNULL(zipCode,postalCode), ' ', ISNULL(city,''), ' ',ISNULL(address,'')) AS address, email, createdDate FROM customerMaster WHERE email = @emailId --and mobile = @mobile - - END - - return; - END - - IF @FLAG = 'kyc' - BEGIN - SELECT CONCAT(ISNULL(firstName,''), ' ', ISNULL(middleName,''), ' ', ISNULL(lastName1,'')) AS fullName, customerId, membershipId, firstName, ISNULL(middleName,'') AS middleName, - lastName1, mobile, - CONCAT(ISNULL(zipCode,''), ' ', ISNULL(city,''), ' ',ISNULL(ADDITIONALADDRESS,'')) AS address, email, createdDate FROM customerMaster WHERE customerId = @customerId - - return - END - - IF @FLAG = 'get-txn-details' - BEGIN - SELECT TST.email, senderName, pcountry, scountry, receiverName, paymentMethod, pBankName, pBankBranch, pBankBranchName, accountNo, pAmt, tAmt, - serviceCharge, rewardPoints, tAmt, createdDate FROM remitTranTemp RTT - INNER JOIN tranSendersTemp TST ON RTT.id = TST.tranId - where RTT.id = @tranId - - --UNION ALL - - --SELECT senderName, pcountry, scountry, receiverName, paymentMethod, pBankName, pBankBranch, pBankBranchName, accountNo, pAmt, tAmt, - --serviceCharge, rewardPoints, tAmt, createdDate FROM remitTran rt - --INNER JOIN tranSenders ts ON rt.holdTranId = ts.tranId - --where rt.holdTranId = @tranId - RETURN - END - IF @FLAG = 'txn-details' - BEGIN - SELECT senderName, dbo.decryptDb(controlNo), createdDate, pcountry, pBankName, pBankBranchName, accountNo, receiverName, pAmt, tAmt, - serviceCharge, tAmt, paymentMethod, ts.email FROM remitTran rt - INNER JOIN tranSenders ts ON rt.holdTranId = ts.tranId - where rt.holdTranId = @tranId - RETURN - END -END -GO diff --git a/Deployment/16228/GetOrdinal.sql b/StoredProc/GetOrdinal.sql similarity index 100% rename from Deployment/16228/GetOrdinal.sql rename to StoredProc/GetOrdinal.sql diff --git a/StoredProc/GetUserInfo.sql b/StoredProc/GetUserInfo.sql index 58a759a..70d78b8 100644 Binary files a/StoredProc/GetUserInfo.sql and b/StoredProc/GetUserInfo.sql differ diff --git a/Deployment/16228/PROC_COMPLIANCE_CHECKING_NEW.sql b/StoredProc/PROC_COMPLIANCE_CHECKING_NEW.sql similarity index 100% rename from Deployment/16228/PROC_COMPLIANCE_CHECKING_NEW.sql rename to StoredProc/PROC_COMPLIANCE_CHECKING_NEW.sql diff --git a/Deployment/17825/mobile_proc_OTPRequest.sql b/StoredProc/mobile_proc_OTPRequest.sql similarity index 93% rename from Deployment/17825/mobile_proc_OTPRequest.sql rename to StoredProc/mobile_proc_OTPRequest.sql index 0812840..e356a03 100644 Binary files a/Deployment/17825/mobile_proc_OTPRequest.sql and b/StoredProc/mobile_proc_OTPRequest.sql differ diff --git a/StoredProc/proc_approveOFACCompliance.sql b/StoredProc/proc_approveOFACCompliance.sql index e86f968..ac60c12 100644 Binary files a/StoredProc/proc_approveOFACCompliance.sql and b/StoredProc/proc_approveOFACCompliance.sql differ diff --git a/Deployment/17825/proc_customerInfoWithPinNo.sql b/StoredProc/proc_customerInfoWithPinNo.sql similarity index 100% rename from Deployment/17825/proc_customerInfoWithPinNo.sql rename to StoredProc/proc_customerInfoWithPinNo.sql diff --git a/Deployment/16228/proc_dropDownLists.sql b/StoredProc/proc_dropDownLists.sql similarity index 100% rename from Deployment/16228/proc_dropDownLists.sql rename to StoredProc/proc_dropDownLists.sql diff --git a/Deployment/16228/proc_searchCustomerIRH.sql b/StoredProc/proc_searchCustomerIRH.sql similarity index 100% rename from Deployment/16228/proc_searchCustomerIRH.sql rename to StoredProc/proc_searchCustomerIRH.sql diff --git a/Deployment/16228/proc_sendIRH.sql b/StoredProc/proc_sendIRH.sql similarity index 100% rename from Deployment/16228/proc_sendIRH.sql rename to StoredProc/proc_sendIRH.sql diff --git a/StoredProc/proc_transactionView.sql b/StoredProc/proc_transactionView.sql index 5a0e367..296e8dc 100644 Binary files a/StoredProc/proc_transactionView.sql and b/StoredProc/proc_transactionView.sql differ diff --git a/Deployment/18385/proc_trust_payment.sql b/StoredProc/proc_trust_payment.sql similarity index 100% rename from Deployment/18385/proc_trust_payment.sql rename to StoredProc/proc_trust_payment.sql diff --git a/Deployment/18385/tbl_TRU_TranDetail.sql b/Tables/tbl_TRU_TranDetail.sql similarity index 100% rename from Deployment/18385/tbl_TRU_TranDetail.sql rename to Tables/tbl_TRU_TranDetail.sql