fix: Bug #403 住院医生工作站:应用医嘱组套后药品明细字段丢失

- SQL查询getGroupPackageDetail增加therapy_enum字段
- OrdersGroupPackageDetailQueryDto增加therapyEnum属性
- 修复组套明细保存时therapyEnum已写入但查询时丢失的问题
This commit is contained in:
关羽
2026-04-22 17:20:53 +08:00
parent 0cfdce042f
commit e2808fd6b9
2 changed files with 11 additions and 6 deletions

View File

@@ -42,13 +42,13 @@
togpd.quantity,
togpd.unit_code,
sdd.dict_label AS unit_code_name,
togpd.dose AS dose,
togpd.rate_code AS rate_code,
togpd.method_code AS method_code,
togpd.dose_quantity AS dose_quantity,
togpd.dose,
togpd.rate_code,
togpd.method_code,
togpd.dose_quantity,
togpd.group_id,
togpd.therapy_enum AS therapy_enum,
togpd.dispense_per_duration AS dispense_per_duration,
togpd.dispense_per_duration,
togpd.therapy_enum,
CASE
WHEN togpd.order_definition_table = 'med_medication_definition' THEN
med.NAME