医嘱查询调整
This commit is contained in:
@@ -17,7 +17,7 @@ import lombok.experimental.Accessors;
|
||||
public class AdviceBaseDto {
|
||||
|
||||
/** 医嘱类型 */
|
||||
private String adviceType; // 1:药品 , 2: 耗材 , 3:项目
|
||||
private Integer adviceType; // 1:药品 , 2: 耗材 , 3:项目
|
||||
|
||||
/** 医嘱定义ID */
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
abi.advice_table_name
|
||||
from (
|
||||
SELECT T1.tenant_id,
|
||||
'1' AS advice_type,
|
||||
1 AS advice_type,
|
||||
T1.ID AS advice_definition_id,
|
||||
T1.NAME AS advice_name,
|
||||
T1.bus_no AS advice_bus_no,
|
||||
@@ -65,7 +65,7 @@
|
||||
WHERE T1.delete_flag = '0'
|
||||
UNION ALL
|
||||
SELECT T1.tenant_id,
|
||||
'2' AS advice_type,
|
||||
2 AS advice_type,
|
||||
T1.ID AS advice_definition_id,
|
||||
T1.NAME AS advice_name,
|
||||
T1.bus_no AS advice_bus_no,
|
||||
@@ -98,7 +98,7 @@
|
||||
WHERE T1.delete_flag = '0'
|
||||
UNION ALL
|
||||
SELECT T1.tenant_id,
|
||||
'3' AS advice_type,
|
||||
3 AS advice_type,
|
||||
T1.ID AS advice_definition_id,
|
||||
T1.NAME AS advice_name,
|
||||
T1.bus_no AS advice_bus_no,
|
||||
|
||||
Reference in New Issue
Block a user