更新医保类型判断
This commit is contained in:
@@ -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 "其他"
|
||||
|
||||
|
||||
# 处理原始数据
|
||||
|
||||
Reference in New Issue
Block a user