示例#1
0
def get_total_orders_for_customer(cust_num):
    total_orders = 0
    it = db_access.get_all_orders_for_customer(cust_num)
    for x in it:
        total_orders + 1

    return str(total_orders)
示例#2
0
def get_all_orders_for_customer(cust_num):
    return db_access.get_all_orders_for_customer(str(cust_num))