bb43f703 by 周伟奇

fix bug

1 parent 50a831ae
......@@ -735,8 +735,8 @@ class SECompareView(GenericView):
quotationt_info=quotationt_info
)
# 触发比对
compare.apply_async((application_id, business_type, uniq_seq, None, False, False),
queue='queue_compare')
# compare.apply_async((application_id, business_type, uniq_seq, None, False, False),
# queue='queue_compare')
return response.ok()
post.openapi_doc = '''
......
......@@ -1004,7 +1004,7 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list):
vehicle_field_input.append((consts.SE_NEW_ADD_FIELD[2], first_submmison_date))
vehicle_field_input.append((consts.SE_NEW_ADD_FIELD[3], consts.SE_STAMP_VALUE))
vehicle_field_input.append((consts.SE_NEW_ADD_FIELD[4], consts.SE_FPL_VALUE))
bhsj = float(amount) / 1.13
bhsj = round(float(amount) / 1.13, 2)
vehicle_field_input.append((consts.SE_NEW_ADD_FIELD[5], consts.SPLIT_STR.join([
str(bhsj),
str(float(amount) - bhsj),
......@@ -1076,7 +1076,7 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list):
compare_info['bankInfo'] = bank_info
full_no = cms_info.get('settlemnetVerification', {}).get('applicationNo', '')
if cms_info.get('mortgageType', '') == 'Mortgage Free':
if cms_info.get('mortgageType', '') == 'Mortgage Free' or cms_info.get('mortgageType', '') == 'MortgageFree':
other_info = {}
hmh_field_input = [
(consts.SE_HMH_FIELD[0], hmh_name),
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!