添加限制被保险人位置的条件
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -2080,7 +2080,7 @@ class Command(BaseCommand, LoggerMixin): | ... | @@ -2080,7 +2080,7 @@ class Command(BaseCommand, LoggerMixin): |
2080 | if isinstance(license_dict_tmp, dict): | 2080 | if isinstance(license_dict_tmp, dict): |
2081 | if "被保险人姓名" in license_dict_tmp.keys(): | 2081 | if "被保险人姓名" in license_dict_tmp.keys(): |
2082 | if license_dict_tmp.get("被保险人姓名") is not None: | 2082 | if license_dict_tmp.get("被保险人姓名") is not None: |
2083 | if isinstance(license_dict_tmp.get("被保险人姓名"), str) and license_dict_tmp.get("被保险人姓名") != "": | 2083 | if isinstance(license_dict_tmp.get("被保险人姓名"), str) and license_dict_tmp.get("被保险人姓名") != "" and "保险" not in license_dict_tmp.get("被保险人姓名"): |
2084 | license_first_page_list[license_list_tmp_idx] = 1 | 2084 | license_first_page_list[license_list_tmp_idx] = 1 |
2085 | break | 2085 | break |
2086 | # 获取 license_first_page_list 中为 1 的索引 | 2086 | # 获取 license_first_page_list 中为 1 的索引 | ... | ... |
-
Please register or sign in to post a comment