Esempio n. 1
0
def get_effect_notice_list():
    return Notice.query(condition="start_time<=now() and end_time>=now() and status=1")
Esempio n. 2
0
def get_effect_notice_list():
    return Notice.query(
        condition="start_time<=now() and end_time>=now() and status=1")