fix: Bug #403 住院医生工作站:应用医嘱组套后药品明细字段丢失
- SQL查询getGroupPackageDetail增加therapy_enum字段 - OrdersGroupPackageDetailQueryDto增加therapyEnum属性 - 修复组套明细保存时therapyEnum已写入但查询时丢失的问题
This commit is contained in:
@@ -88,5 +88,10 @@ public class OrdersGroupPackageDetailQueryDto {
|
|||||||
*/
|
*/
|
||||||
private Long groupId;
|
private Long groupId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 治疗类型:1-长期 2-临时
|
||||||
|
*/
|
||||||
|
private Integer therapyEnum;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,13 +42,13 @@
|
|||||||
togpd.quantity,
|
togpd.quantity,
|
||||||
togpd.unit_code,
|
togpd.unit_code,
|
||||||
sdd.dict_label AS unit_code_name,
|
sdd.dict_label AS unit_code_name,
|
||||||
togpd.dose AS dose,
|
togpd.dose,
|
||||||
togpd.rate_code AS rate_code,
|
togpd.rate_code,
|
||||||
togpd.method_code AS method_code,
|
togpd.method_code,
|
||||||
togpd.dose_quantity AS dose_quantity,
|
togpd.dose_quantity,
|
||||||
togpd.group_id,
|
togpd.group_id,
|
||||||
togpd.therapy_enum AS therapy_enum,
|
togpd.dispense_per_duration,
|
||||||
togpd.dispense_per_duration AS dispense_per_duration,
|
togpd.therapy_enum,
|
||||||
CASE
|
CASE
|
||||||
WHEN togpd.order_definition_table = 'med_medication_definition' THEN
|
WHEN togpd.order_definition_table = 'med_medication_definition' THEN
|
||||||
med.NAME
|
med.NAME
|
||||||
|
|||||||
Reference in New Issue
Block a user