Commit 8f178132 by 魏强

update;

parent 38209ab0
......@@ -50,7 +50,7 @@ def rent_list():
start_time, end_time = Helper.getTodayDate()
if action_type == 1:
# 未归还
info, total_count = RentService.get_not_return_production(spot_id, start_time, end_time, action_type, page)
info, total_count = RentService.get_not_return_production(spot_id, start_time, end_time, page, limit)
elif action_type == 2:
# 已归还
info, total_count = RentService.get_already_returned_rent_production_info(spot_id, start_time, end_time,
......@@ -72,7 +72,7 @@ def rent_list():
start_time, end_time = Helper.getYesterdayDate()
if action_type == 1:
# 未归还
info, total_count = RentService.get_not_return_production(spot_id, start_time, end_time, action_type, page)
info, total_count = RentService.get_not_return_production(spot_id, start_time, end_time, page, limit)
elif action_type == 2:
# 已归还
info, total_count = RentService.get_already_returned_rent_production_info(spot_id, start_time, end_time,
......@@ -94,7 +94,7 @@ def rent_list():
start_time, end_time = Helper.getSevenDate()
if action_type == 1:
# 未归还
info, total_count = RentService.get_not_return_production(spot_id, start_time, end_time, action_type, page)
info, total_count = RentService.get_not_return_production(spot_id, start_time, end_time, page, limit)
elif action_type == 2:
# 已归还
info, total_count = RentService.get_already_returned_rent_production_info(spot_id, start_time, end_time,
......@@ -115,7 +115,7 @@ def rent_list():
start_time, end_time = Helper.getMonthDate()
if action_type == 1:
# 未归还
info, total_count = RentService.get_not_return_production(spot_id, start_time, end_time, action_type, page)
info, total_count = RentService.get_not_return_production(spot_id, start_time, end_time, page, limit)
elif action_type == 2:
# 已归还
info, total_count = RentService.get_already_returned_rent_production_info(spot_id, start_time, end_time,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment