bf9a6f86 by 周伟奇

fix bug

1 parent d3de42e6
...@@ -1667,7 +1667,7 @@ HT_COMPARE_LOGIC = { ...@@ -1667,7 +1667,7 @@ HT_COMPARE_LOGIC = {
1667 '见证人签字': ('见证人签字', 'se_have_compare', {}, '合同见证人无'), 1667 '见证人签字': ('见证人签字', 'se_have_compare', {}, '合同见证人无'),
1668 '见证人日期': ('见证人日期', 'se_date_contain_compare', {}, '合同见证人签字日期不符合逻辑'), 1668 '见证人日期': ('见证人日期', 'se_date_contain_compare', {}, '合同见证人签字日期不符合逻辑'),
1669 1669
1670 '还款计划表': ('见证人日期', 'se_schedule_compare', {}, '还款计划表与系统不一致'), 1670 '还款计划表': ('还款计划表', 'se_schedule_compare', {}, '还款计划表与系统不一致'),
1671 } 1671 }
1672 1672
1673 1673
......
...@@ -1121,19 +1121,21 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list): ...@@ -1121,19 +1121,21 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list):
1121 (consts.SE_AFC_CON_FIELD[17], schedule_list_str), 1121 (consts.SE_AFC_CON_FIELD[17], schedule_list_str),
1122 ] 1122 ]
1123 1123
1124 asp_list = [] 1124 # asp_list = []
1125 for asp_info in cms_info.get('associatedServices', []): 1125 # for asp_info in cms_info.get('associatedServices', []):
1126 asp_list.append( 1126 # asp_list.append(
1127 ( 1127 # (
1128 asp_info.get('associatedServices', ''), 1128 # asp_info.get('associatedServices', ''),
1129 asp_info.get('price', 0.0), 1129 # asp_info.get('price', 0.0),
1130 asp_info.get('financed', 0.0) 1130 # asp_info.get('financed', 0.0)
1131 ) 1131 # )
1132 ) 1132 # )
1133 1133
1134 if len(asp_list) == 0: 1134 if str(cms_info.get('financialInformation', {}).get('associatedServicePrincipal', '0.00')) == '0.00':
1135 afc_contract_input.pop(5) 1135 afc_contract_input.pop(5)
1136 afc_contract_input.pop(6) 1136 afc_contract_input.pop(6)
1137 afc_contract_input.pop(11)
1138 afc_contract_input.pop(12)
1137 1139
1138 # if len(asp_list) > 0: 1140 # if len(asp_list) > 0:
1139 # fin_total = 0 1141 # fin_total = 0
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!