优化医生名字的处理,没有时填充无
This commit is contained in:
@@ -126,6 +126,12 @@ def handle_name(string):
|
||||
return re.sub(r'[^⺀-鿿·]', '', string)[:30]
|
||||
|
||||
|
||||
def handle_doctor(string):
|
||||
if not string:
|
||||
return "无"
|
||||
return re.sub(r'[^⺀-鿿·]', '', string)[:30]
|
||||
|
||||
|
||||
# 处理医保类型数据
|
||||
def handle_insurance_type(string):
|
||||
if not string:
|
||||
|
||||
Reference in New Issue
Block a user