调整医生姓名长度限制
This commit is contained in:
@@ -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='创建人')
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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]
|
||||||
|
|
||||||
|
|
||||||
# 处理医保类型数据
|
# 处理医保类型数据
|
||||||
|
|||||||
Reference in New Issue
Block a user