Commit 245cf95b authored by 赵杰's avatar 赵杰

round

parent e9df83d1
...@@ -13,8 +13,6 @@ def recalculation_fund_comment(args): ...@@ -13,8 +13,6 @@ def recalculation_fund_comment(args):
customer_id = args.get("customer_id") customer_id = args.get("customer_id")
folio = args.get("folio") folio = args.get("folio")
suggest_result = json.loads(args.get("suggest_data")) suggest_result = json.loads(args.get("suggest_data"))
# ifa_id = "223164967317544960"
# customer_id = "app6755804805140590592"
suggest_fund_dict = {} suggest_fund_dict = {}
suggest_fund_list = [] suggest_fund_list = []
...@@ -62,7 +60,7 @@ def recalculation_fund_comment(args): ...@@ -62,7 +60,7 @@ def recalculation_fund_comment(args):
if newprcode_dict.get(new_sug["fund_id"]): if newprcode_dict.get(new_sug["fund_id"]):
new_sug["newprcode"] = newprcode_dict.get(new_sug["fund_id"]) new_sug["newprcode"] = newprcode_dict.get(new_sug["fund_id"])
new_suggestions_result_asset["after"] = sum_amount new_suggestions_result_asset["after"] = round(sum_amount, 2)
dict_result["suggestions_result"] = new_suggestions_result dict_result["suggestions_result"] = new_suggestions_result
dict_result["suggestions_result_asset"] = new_suggestions_result_asset dict_result["suggestions_result_asset"] = new_suggestions_result_asset
# dict_result["return_compare_data"] = return_compare_data # dict_result["return_compare_data"] = return_compare_data
......
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