Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
Component Sharing
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gagandeep Singh Bhatia
Component Sharing
Commits
da533e46
Commit
da533e46
authored
Apr 16, 2024
by
ManishKumar C
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace UserInvitationDAO.java
parent
7622e8a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
Amol/Manish Changes/UserInvitationDAO.java
Amol/Manish Changes/UserInvitationDAO.java
+7
-3
No files found.
Amol/Manish Changes/UserInvitationDAO.java
View file @
da533e46
...
...
@@ -714,7 +714,7 @@ public class UserInvitationDAO
// To get registered Invitee Registration Information
String
addr1
=
""
,
addr2
=
""
,
addr3
=
""
,
city
=
""
,
stateCode
=
""
,
pin
=
""
,
tele1
=
""
,
tele2
=
""
,
tele3
=
""
,
lob
=
""
;
String
applicationPack
=
""
;
String
applicationPack
=
""
;
//Added by Rahul to add application_pack value in user_registration[12-APR-24]
sql
=
"Select * from user_registration where user_id= ?"
;
pstmt
=
autConn
.
prepareStatement
(
sql
);
pstmt
.
setString
(
1
,
registerUserId
);
...
...
@@ -731,7 +731,7 @@ public class UserInvitationDAO
tele2
=
checkNull
(
rs
.
getString
(
"TELE2"
)).
trim
();
tele3
=
checkNull
(
rs
.
getString
(
"TELE3"
)).
trim
();
lob
=
checkNull
(
rs
.
getString
(
"LINE_OF_BUSINESS"
)).
trim
();
applicationPack
=
checkNull
(
rs
.
getString
(
"APPLICATION_PACK"
)).
trim
();
applicationPack
=
checkNull
(
rs
.
getString
(
"APPLICATION_PACK"
)).
trim
();
//Added by Rahul to add application_pack value in user_registration[12-APR-24]
}
pstmt
.
close
();
...
...
@@ -749,9 +749,13 @@ public class UserInvitationDAO
// Added by Rahul P. on 12-Mar-24 [To set HQ value to City] :: END
BaseLogger
.
log
(
"3"
,
null
,
null
,
"----updated---"
+
lob
);
//Added by Rahul to add application_pack value in user_registration[12-APR-24]
//userSql = "INSERT INTO USER_REGISTRATION (USER_NAME,EMAIL_ID,CONTACT_NO,LAST_NAME,PASS_WD_SHA,USER_ID,SITE_CODE, ADDR1, ADDR2, ADDR3, CITY, STATE_CODE, PIN, TELE1, TELE2, TELE3, LINE_OF_BUSINESS)"
// + " VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
userSql
=
"INSERT INTO USER_REGISTRATION (USER_NAME,EMAIL_ID,CONTACT_NO,LAST_NAME,PASS_WD_SHA,USER_ID,SITE_CODE, ADDR1, ADDR2, ADDR3, CITY, STATE_CODE, PIN, TELE1, TELE2, TELE3, LINE_OF_BUSINESS,APPLICATION_PACK)"
+
" VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"
;
pstmt
=
autConn
.
prepareStatement
(
userSql
);
pstmt
.
setString
(
1
,
inviteUser
.
getUserFirstName
());
pstmt
.
setString
(
2
,
inviteUser
.
getEmailId
());
...
...
@@ -770,7 +774,7 @@ public class UserInvitationDAO
pstmt
.
setString
(
15
,
tele2
);
pstmt
.
setString
(
16
,
tele3
);
pstmt
.
setString
(
17
,
lob
);
pstmt
.
setString
(
18
,
applicationPack
);
pstmt
.
setString
(
18
,
applicationPack
);
//Added by Rahul to add application_pack value in user_registration[12-APR-24]
rs
=
pstmt
.
executeQuery
();
pstmt
.
close
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment