fix ltgt
Showing
2 changed files
with
5 additions
and
1 deletions
| ... | @@ -1433,7 +1433,7 @@ ASP_KEY = 'is_asp' | ... | @@ -1433,7 +1433,7 @@ ASP_KEY = 'is_asp' |
| 1433 | 1433 | ||
| 1434 | 1434 | ||
| 1435 | AFC_CON_MAP_LTGT = { | 1435 | AFC_CON_MAP_LTGT = { |
| 1436 | '合同编号': (1, 1, '合同编号', None), | 1436 | '合同编号': (2, 2, '合同编号', None), |
| 1437 | '借款人姓名': (2, 2, '借款人及抵押人', 'name'), | 1437 | '借款人姓名': (2, 2, '借款人及抵押人', 'name'), |
| 1438 | '共借人姓名': (2, 2, '共同借款人及共同抵押人', 'name'), | 1438 | '共借人姓名': (2, 2, '共同借款人及共同抵押人', 'name'), |
| 1439 | '保证人姓名1': (2, 2, '保证人1', 'name'), | 1439 | '保证人姓名1': (2, 2, '保证人1', 'name'), | ... | ... |
| ... | @@ -598,6 +598,10 @@ class Command(BaseCommand, LoggerMixin): | ... | @@ -598,6 +598,10 @@ class Command(BaseCommand, LoggerMixin): |
| 598 | first_head_row = head_fields | 598 | first_head_row = head_fields |
| 599 | else: | 599 | else: |
| 600 | sheet_name, key_field, side_field_order, field_order = self.field_map_2[result[self.CLASSIFY_KEY]] | 600 | sheet_name, key_field, side_field_order, field_order = self.field_map_2[result[self.CLASSIFY_KEY]] |
| 601 | |||
| 602 | if key_field is not None and key_field in result[self.RESULT_KEY] and result[self.CLASSIFY_KEY] == consts.IC_CLASSIFY: | ||
| 603 | continue | ||
| 604 | |||
| 601 | if key_field is not None and len(side_field_order) > len(field_order): | 605 | if key_field is not None and len(side_field_order) > len(field_order): |
| 602 | first_head_row = [] | 606 | first_head_row = [] |
| 603 | for a, _ in side_field_order: | 607 | for a, _ in side_field_order: | ... | ... |
-
Please register or sign in to post a comment