def _GetAllWith(HOLIDAY, id, conn): cond = "empid = " + str(id) h = HOLIDAY() return Json.GetAllWith(h, conn, cond)
def _GetAllWith(POST, id, conn): cond = "empid = " + str(id) p = POST() return Json.GetAllWith(p, conn, cond)