Commit 46938a5f by 魏强

qwe;

parent 36b7eaf4
...@@ -211,7 +211,7 @@ class RentService(): ...@@ -211,7 +211,7 @@ class RentService():
for info in infos: for info in infos:
cur_info = {} cur_info = {}
cur_info['rent_no'] = info.rent_no cur_info['rent_no'] = info.rent_no
cur_info['hatch_no'] = info.rent_hatch_no cur_info['hatch_no'] = info.rent_hatch_no if info.rent_hatch_no else 0
cur_info['total'] = info.total if info.total else 0 cur_info['total'] = info.total if info.total else 0
cur_info['phone'] = info.phone cur_info['phone'] = info.phone
if info.rent_type == 2: if info.rent_type == 2:
......
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