Browse Source

changes in db scripts

master
shakun 1 year ago
parent
commit
88dbb75f2e
  1. 16
      Deployment/17825/GetUserInfo.sql
  2. 2
      ExecuteScript/CLEAR TXN BEFORE DATA MIGRATION.sql
  3. BIN
      StoredProc/17968/proc_online_core_customerSetup.sql
  4. BIN
      StoredProc/GetUserInfo.sql
  5. BIN
      StoredProc/JsonRx_Proc_UserRegistration.sql
  6. BIN
      StoredProc/mobile_proc_customerMaster.sql
  7. BIN
      StoredProc/mobile_proc_customerMaster_V2.sql
  8. BIN
      StoredProc/proc_ApproveHoldedTXN.sql
  9. BIN
      StoredProc/proc_ApproveHoldedTxnMobile.sql
  10. BIN
      StoredProc/proc_Customerinformation.sql
  11. BIN
      StoredProc/proc_SendTransaction.sql
  12. BIN
      StoredProc/proc_get_exrate_master.sql
  13. BIN
      StoredProc/proc_online_core_customerSetup.sql
  14. 17
      alter.txt
  15. 16
      update.sql

16
Deployment/17825/GetUserInfo.sql

@ -37,13 +37,21 @@ BEGIN
UPDATE dbo.customerMasterTemp
SET MEMBERSHIPID = @MEMBESHIP_ID
WHERE username = @emailId
END
SELECT CONCAT(ISNULL(firstName,''), ' ', ISNULL(middleName,''), ' ', ISNULL(lastName1,'')) AS fullName, customerId, membershipId, firstName, ISNULL(middleName,'') AS middleName,
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 customerMastertemp WHERE email = @emailId --and mobile = @mobile
CONCAT(ISNULL(zipCode,postalCode), ' ', ISNULL(city,''), ' ',ISNULL(address,'')) AS address, email, createdDate FROM customerMastertemp WHERE email = @emailId --and mobile = @mobile
return
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'

2
ExecuteScript/CLEAR TXN BEFORE DATA MIGRATION.sql

@ -5,6 +5,8 @@ UPDATE AGENTMASTER SET MAXVALUE = NULL
update customermaster set availablebalance = 0
return
truncate table PinQueueList
truncate table CUSTOMER_TRANSACTIONS
truncate table REFERRAL_INCENTIVE_TRANSACTION_WISE

BIN
StoredProc/17968/proc_online_core_customerSetup.sql

BIN
StoredProc/GetUserInfo.sql

BIN
StoredProc/JsonRx_Proc_UserRegistration.sql

BIN
StoredProc/mobile_proc_customerMaster.sql

BIN
StoredProc/mobile_proc_customerMaster_V2.sql

BIN
StoredProc/proc_ApproveHoldedTXN.sql

BIN
StoredProc/proc_ApproveHoldedTxnMobile.sql

BIN
StoredProc/proc_Customerinformation.sql

BIN
StoredProc/proc_SendTransaction.sql

BIN
StoredProc/proc_get_exrate_master.sql

BIN
StoredProc/proc_online_core_customerSetup.sql

17
alter.txt

@ -2,4 +2,19 @@ ALTER TABLE customerMastertemp
ADD idIssueCountry INT NULL
ALTER TABLE customerMaster
ADD idIssueCountry INT NULL
ADD idIssueCountry INT NULL
ALTER TABLE REMITTRAN
ALTER COLUMN schemeId VARCHAR (20) NULL
ALTER TABLE REMITTRANTEMP
ALTER COLUMN schemeId VARCHAR (20) NULL
ALTER TABLE REMITTRANTEMP
ALTER COLUMN depositType VARCHAR (20) NULL
ALTER TABLE REMITTRAN
ALTER COLUMN depositType VARCHAR (20) NULL

16
update.sql

@ -5,17 +5,17 @@ where username='luffy@yopmail.com'
select * FROM TBL_MOBILE_OTP_REQUEST where user_id='stha@yopmail.com'
delete FROM customermaster where username='luffy@yopmail.com'
delete FROM CustomerMasterTemp where username='luffy@yopmail.com'
delete FROM mobile_userRegistration where username='luffy@yopmail.com'
delete FROM TBL_MOBILE_OTP_REQUEST where user_id='luffy@yopmail.com'
delete FROM customermaster where username='shakun@yopmail.com'
delete FROM CustomerMasterTemp where username='shakun@yopmail.com'
delete FROM mobile_userRegistration where username='shakun@yopmail.com'
delete FROM TBL_MOBILE_OTP_REQUEST where user_id='shakun@yopmail.com'
delete from customerDocument where cdid='132'
select * from customerDocument where customerid='48' --11440
select * FROM mobile_userRegistration where username='luffy@yopmail.com'
update customermaster set mobileverifieddate=null , HasDeclare=0, agreeYn=0,
txnpin=123456,isForcedPwdChange=0 where username='luffy@yopmail.com'
txnpin=123456,isForcedPwdChange=0 where username='puranpanthi429@gmail.com'
update customermaster set
txnpin=123456
@ -25,8 +25,8 @@ select * FROM TBL_MOBILE_OTP_REQUEST where user_id='luffy@yopmail.com'
select * FROM staticDataValue where typeid='8103'
UPDATE TBL_MOBILE_OTP_REQUEST set IS_SUCCESS=0 , REQUESTED_DATE=GETDATE(), IS_EXPIRED=0 where user_id='luffy@yopmail.com'
update customermaster set lawsoncardno='KYC_NOW' where username='luffy@yopmail.com'
update CustomerMasterTemp set isEmailVerified='1' where username='luffy@yopmail.com'
update customermaster set lawsoncardno='KYC_NOW' where username='puranpanthi429@gmail.com'
update CustomerMasterTemp set isEmailVerified='1' where username='luffy1@yopmail.com'
update customermastertemp set isemailverified=1
where username='stha@yopmail.com'
EXEC GetUserInfo @flag='basic-reg', @emailId='luffy@yopmail.com'
@ -52,7 +52,7 @@ EXEC JsonRx_Proc_UserRegistration_V2 @flag = 'sign-up-v2-new-cust'
,@idNumber = NULL
,@nativeCountry = 'ID'
,@referralCode = 'mob000043'
,@username = 'luffy@yopmail.com'
,@username = 'luffy1@yopmail.com'
,@password = 'P@ssw0rd'
,@clientId = ':2487:aff:fe2c:d631%dummy0'
,@uuid = 'a25982f555d5a7d6'

Loading…
Cancel
Save