147 门诊医生站》医嘱TAB页面:一次性静脉采血器为耗材系统且自动转成中成药类型,点击【保存】报错。
This commit is contained in:
@@ -122,7 +122,7 @@
|
||||
(SELECT
|
||||
DISTINCT ON (T1.ID)
|
||||
T1.tenant_id,
|
||||
2 AS advice_type,
|
||||
4 AS advice_type,
|
||||
T1.bus_no AS bus_no,
|
||||
T1.category_code AS category_code,
|
||||
'' AS pharmacology_category_code,
|
||||
@@ -683,4 +683,13 @@
|
||||
AND wad.ID = wsr.activity_id )
|
||||
</select>
|
||||
|
||||
<!-- 获取就诊的默认账户ID -->
|
||||
<select id="getDefaultAccountId" resultType="java.lang.Long">
|
||||
SELECT aa.id
|
||||
FROM adm_account aa
|
||||
WHERE aa.delete_flag = '0'
|
||||
AND aa.encounter_id = #{encounterId}
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user