Commit bfa230a4 by 魏强

update;

parent 6c7b48d4
...@@ -355,9 +355,9 @@ def force_refund(): ...@@ -355,9 +355,9 @@ def force_refund():
if not rent_info: if not rent_info:
return jsonify(REFUND_NOT_PRODUCTION_INFO) return jsonify(REFUND_NOT_PRODUCTION_INFO)
rent_info.Rent.back_money = int(money) rent_info.Rent.back_money = rent_info.Rent.back_money + int(money)
rent_info.Rent.total = 9900 - int(money) rent_info.Rent.total = rent_info.Rent.total - int(money)
rent_info.Rent.real_total = 9900 - int(money) rent_info.Rent.real_total = rent_info.Rent.real_total - int(money)
rent_refund_no = RentService.create_refund_no() rent_refund_no = RentService.create_refund_no()
......
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