From a7d1c479a83e42d8006bf80250cae3932c8dd4d4 Mon Sep 17 00:00:00 2001 From: liuyebo <1515783401@qq.com> Date: Tue, 9 Jul 2024 14:24:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8C=BB=E4=BF=9D=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- photo_review/util/data_util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/photo_review/util/data_util.py b/photo_review/util/data_util.py index 754f5e4..f42fb6e 100644 --- a/photo_review/util/data_util.py +++ b/photo_review/util/data_util.py @@ -118,7 +118,7 @@ def handle_name(string): def handle_insurance_type(string): if not string: return "" - worker_insurance_keys = ["社保", "城保", "职"] + worker_insurance_keys = ["社保", "城保", "职", "退休"] villager_insurance_keys = ["农保", "居民"] migrant_worker_insurance_keys = ["农民工"] no_insurance_keys = ["自费", "全费"] @@ -130,7 +130,7 @@ def handle_insurance_type(string): return "农民工医保" if any(key in string for key in no_insurance_keys): return "无医保" - return "" + return "其他" # 处理原始数据