示例#1
0
def find_school(school, params):
    return Mode.findFirstByParams(school, params)
示例#2
0
def delete_school(school, params):
    if Mode.delete(school, params) > 0:
        return True
    return False
示例#3
0
def update_school(school, set_params, where_params):
    if Mode.update(school, set_params, where_params) > 0:
        return True
    return False
示例#4
0
def insert_school(school, params):
    if Mode.insert(school, params) > 0:
        return True
    return False