def otherbody(id): try: resp = sqlhelper.do_selectsinglebyid("CALL usp_GetOtherBody(%s)", id) resp.status_code = 200 return resp except Exception as e: print(e)
def get_user(email): try: resp = sqlhelper.do_selectsinglebyid("CALL usp_GetUser(%s)", email) resp.status_code = 200 return resp except Exception as e: print(e)
def region(id): try: resp = sqlhelper.do_selectsinglebyid("CALL usp_GetRegion(%s)", id) resp.status_code = 200 return resp except Exception as e: print(e)
def projectofficer(id): try: resp = sqlhelper.do_selectsinglebyid("CALL usp_GetProjectOfficer(%s)", id) resp.status_code = 200 return resp except Exception as e: print(e)