医嘱查询调整

This commit is contained in:
Wang.Huan
2025-03-19 15:56:06 +08:00
parent b6bcc4c56e
commit eb64bcc962
2 changed files with 4 additions and 4 deletions

View File

@@ -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)

View File

@@ -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,