def usereditProfile(): try: if adminLoginSession() == 'user': loginId = session['session_loginId'] registerVO = RegisterVO() registerVO.register_LoginId = loginId registerDAO = RegisterDAO() registerDAO.editProfile(registerVO) registerVOList = registerDAO.editProfile(registerVO) print("=========registerVOList==========", registerVOList) print("=======type of registerVOList=======", type(registerVOList)) return render_template('user/editProfile.html', registerVOList=registerVOList) else: return adminLogoutSession() except Exception as ex: print(ex)
def userEditRegister(): try: if adminLoginSession() == 'user': loginId = request.args.get('loginId') registerVO = RegisterVO() registerDAO = RegisterDAO() registerVO.register_LoginId = loginId registerVOList = registerDAO.editProfile(registerVO) print("registerVOList >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ", registerVOList) return render_template('user/editProfile.html', registerVOList=registerVOList) else: return adminLogoutSession() except Exception as ex: print(ex)