Commit da533e46 authored by ManishKumar C's avatar ManishKumar C

Replace UserInvitationDAO.java

parent 7622e8a9
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment