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