调整医生姓名长度限制

This commit is contained in:
2025-01-22 15:44:14 +08:00
parent f4ec3b1eb4
commit ed77b8ed82
3 changed files with 3 additions and 3 deletions

View File

@@ -108,7 +108,7 @@ class ZxIeDischarge(Base):
admission_date = Column(Date, comment='入院日期') admission_date = Column(Date, comment='入院日期')
discharge_date_str = Column(String(255), comment='出院日期字符串') discharge_date_str = Column(String(255), comment='出院日期字符串')
discharge_date = Column(Date, comment='出院日期') discharge_date = Column(Date, comment='出院日期')
doctor = Column(String(30), comment='主治医生') doctor = Column(String(20), comment='主治医生')
admission_id = Column(String(50), comment='住院号') admission_id = Column(String(50), comment='住院号')
create_time = Column(DateTime, server_default=text("CURRENT_TIMESTAMP"), comment='创建时间') create_time = Column(DateTime, server_default=text("CURRENT_TIMESTAMP"), comment='创建时间')
creator = Column(String(255), comment='创建人') creator = Column(String(255), comment='创建人')

View File

@@ -1,6 +1,6 @@
x-env: x-env:
&template &template
image: fcb_photo_review:1.14.12 image: fcb_photo_review:1.14.13
restart: always restart: always
x-review: x-review:

View File

@@ -129,7 +129,7 @@ def handle_name(string):
def handle_doctor(string): def handle_doctor(string):
if not string: if not string:
return "" return ""
return re.sub(r'[^⺀-鿿·]', '', string)[:30] return re.sub(r'[^⺀-鿿·]', '', string)[:20]
# 处理医保类型数据 # 处理医保类型数据