添加医保类型处理方法

This commit is contained in:
2024-06-12 09:07:34 +08:00
parent b6b250545b
commit 30c1f66f86
2 changed files with 11 additions and 2 deletions

View File

@@ -81,3 +81,10 @@ def handle_name(string):
if not string:
return ""
return re.sub(r'[^⺀-鿿·]', '', string)
# 处理医保类型数据
def handle_insurance_type(string):
if not string:
return ""
return string.replace(":", "").replace("", "")