添加新关键词住院号和医保结算单号码

This commit is contained in:
2024-07-04 09:22:42 +08:00
parent b64ccad862
commit 69dacc19c9
4 changed files with 23 additions and 10 deletions

View File

@@ -120,5 +120,9 @@ def handle_original_data(string):
return string[:255]
if __name__ == '__main__':
print(handle_date("2024年"))
# 处理id类数据
def handle_id(string):
if not string:
return ""
# 防止过长存入数据库失败
return string[:50]