|
|
|
@ -453,6 +453,7 @@
|
|
|
|
|
</where>
|
|
|
|
|
union all
|
|
|
|
|
select
|
|
|
|
|
top 1
|
|
|
|
|
archive_other_ext.ID idTemp,
|
|
|
|
|
SycTime,
|
|
|
|
|
sysFlag,
|
|
|
|
@ -461,11 +462,11 @@
|
|
|
|
|
CONVERT(varchar(19),eTime,120) etimeStr,
|
|
|
|
|
statusFlag,
|
|
|
|
|
pResult,
|
|
|
|
|
C1,
|
|
|
|
|
'手麻系统病历' as C1,
|
|
|
|
|
DID
|
|
|
|
|
from archive_other_ext
|
|
|
|
|
<where>
|
|
|
|
|
and sysFlag = 5 and (C1 = '术前访视' or C1 = '术后访视' or C1 = '麻醉记录' or C1 = '麻醉小结')
|
|
|
|
|
and sysFlag = 5 /*and (C1 = '术前访视' or C1 = '术后访视' or C1 = '麻醉记录' or C1 = '麻醉小结')*/
|
|
|
|
|
<include refid="selectWhereSql"></include>
|
|
|
|
|
</where>
|
|
|
|
|
union all
|
|
|
|
|