You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
klhis/WEB-INF/conf/sysds_emss.xml

1978 lines
102 KiB

<?xml version="1.0" encoding="UTF-8"?>
<datasource>
<!-- 1 表示 sql语句dao 2表示存储过程dao 默认为sql语句dao-->
<dao id="emssCarmsDao" log="true" type="1" memo="急诊创伤评分主表dao">
<sql>select PKEY,XMMS,SFKY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_EMSS_CRAMS where JGID=? order by pkey</sql>
<tables>
<table name="HIS_EMSS_CRAMS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_EMSS_CRAMS" />
<f name="XMMS" type="12" table="HIS_EMSS_CRAMS" />
<f name="SFKY" type="12" table="HIS_EMSS_CRAMS" />
<f name="CJR" type="12" table="HIS_EMSS_CRAMS" />
<f name="CJRQ" type="93" table="HIS_EMSS_CRAMS" />
<f name="XGR" type="12" table="HIS_EMSS_CRAMS" />
<f name="XGRQ" type="93" table="HIS_EMSS_CRAMS" />
<f name="JGID" type="12" table="HIS_EMSS_CRAMS" />
<f name="LOCKFLAG" type="-5" table="HIS_EMSS_CRAMS" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="emssCramsMxDao" log="true" type="1" memo="急诊创伤评分明细表dao">
<sql>select PKEY,CRAMSPKEY,MS,FZ,SFKY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_EMSS_CRAMS_MX where JGID=? and CRAMSPKEY=? order by pkey</sql>
<tables>
<table name="HIS_EMSS_CRAMS_MX" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>CRAMSPKEY</primary>
<primary>JGID</primary>
</table>
</tables>
//PKEY,CRAMSPKEY,MS,FZ,SFKY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG
<fields>
<f name="PKEY" type="12" table="HIS_EMSS_CRAMS_MX" />
<f name="CRAMSPKEY" type="12" table="HIS_EMSS_CRAMS_MX" />
<f name="MS" type="12" table="HIS_EMSS_CRAMS_MX" />
<f name="FZ" type="12" table="HIS_EMSS_CRAMS_MX" />
<f name="SFKY" type="12" table="HIS_EMSS_CRAMS_MX" />
<f name="CJR" type="12" table="HIS_EMSS_CRAMS_MX" />
<f name="CJRQ" type="93" table="HIS_EMSS_CRAMS_MX" />
<f name="XGR" type="12" table="HIS_EMSS_CRAMS_MX" />
<f name="XGRQ" type="93" table="HIS_EMSS_CRAMS_MX" />
<f name="JGID" type="12" table="HIS_EMSS_CRAMS_MX" />
<f name="LOCKFLAG" type="-5" table="HIS_EMSS_CRAMS_MX" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="emssGcsDao" log="true" type="1" memo="急诊格拉斯哥评分主表dao">
<sql>select PKEY,XMMS,SFKY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_EMSS_GCS where JGID=? order by pkey</sql>
<tables>
<table name="HIS_EMSS_GCS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_EMSS_GCS" />
<f name="XMMS" type="12" table="HIS_EMSS_GCS" />
<f name="SFKY" type="12" table="HIS_EMSS_GCS" />
<f name="CJR" type="12" table="HIS_EMSS_GCS" />
<f name="CJRQ" type="93" table="HIS_EMSS_GCS" />
<f name="XGR" type="12" table="HIS_EMSS_GCS" />
<f name="XGRQ" type="93" table="HIS_EMSS_GCS" />
<f name="JGID" type="12" table="HIS_EMSS_GCS" />
<f name="LOCKFLAG" type="-5" table="HIS_EMSS_GCS" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="emssGcsMxDao" log="true" type="1" memo="急诊格拉斯哥评分明细表dao">
<sql>select PKEY,GCSPKEY,MS,FZ,SFKY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_EMSS_GCS_MX where JGID=? and GCSPKEY=? order by pkey</sql>
<tables>
<table name="HIS_EMSS_GCS_MX" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>GCSPKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_EMSS_GCS_MX" />
<f name="GCSPKEY" type="12" table="HIS_EMSS_GCS_MX" />
<f name="MS" type="12" table="HIS_EMSS_GCS_MX" />
<f name="FZ" type="12" table="HIS_EMSS_GCS_MX" />
<f name="SFKY" type="12" table="HIS_EMSS_GCS_MX" />
<f name="CJR" type="12" table="HIS_EMSS_GCS_MX" />
<f name="CJRQ" type="93" table="HIS_EMSS_GCS_MX" />
<f name="XGR" type="12" table="HIS_EMSS_GCS_MX" />
<f name="XGRQ" type="93" table="HIS_EMSS_GCS_MX" />
<f name="JGID" type="12" table="HIS_EMSS_GCS_MX" />
<f name="LOCKFLAG" type="-5" table="HIS_EMSS_GCS_MX" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="emssZzflSetupDao" log="true" type="1" memo="急诊症状分类主表dao">
<sql>select PKEY,FLMS,SFKY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_EMSS_ZZFL where JGID=? order by pkey</sql>
<tables>
<table name="HIS_EMSS_ZZFL" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_EMSS_ZZFL" />
<f name="FLMS" type="12" table="HIS_EMSS_ZZFL" />
<f name="SFKY" type="12" table="HIS_EMSS_ZZFL" />
<f name="CJR" type="12" table="HIS_EMSS_ZZFL" />
<f name="CJRQ" type="93" table="HIS_EMSS_ZZFL" />
<f name="XGR" type="12" table="HIS_EMSS_ZZFL" />
<f name="XGRQ" type="93" table="HIS_EMSS_ZZFL" />
<f name="JGID" type="12" table="HIS_EMSS_ZZFL" />
<f name="LOCKFLAG" type="-5" table="HIS_EMSS_ZZFL" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="emssZzMxSetupDao" log="true" type="1" memo="急诊症状明细表dao">
<sql>select PKEY,ZZFLPKEY,ZZMS,ZZFJ,ZZFZ,SFKY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_EMSS_ZZFL_MX where JGID=? and ZZFLPKEY=? order by pkey</sql>
<tables>
<table name="HIS_EMSS_ZZFL_MX" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>ZZFLPKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="ZZFLPKEY" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="ZZMS" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="ZZFJ" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="ZZFZ" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="SFKY" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="CJR" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="CJRQ" type="93" table="HIS_EMSS_ZZFL_MX" />
<f name="XGR" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="XGRQ" type="93" table="HIS_EMSS_ZZFL_MX" />
<f name="JGID" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="LOCKFLAG" type="-5" table="HIS_EMSS_ZZFL_MX" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="emssNotFenzhenDao" log="true" type="1" memo="急诊未分诊dao">
<sql><![CDATA[
select A.PKEY,A.JZPKEY,A.HZPKEY,A.GHNUM,A.FPHM,A.SFDYFP,A.GHLB,A.GHKS,A.GHSJ,A.GHRY,A.GHPBPKEY,A.JZZS,A.JZSD,A.SFZZ,A.ZZKS,A.ZZYS,A.SFZDPKEY,A.YBZF,A.GRZF,A.GHYS,A.CJR,A.CJRQ,A.JGID,A.GHRQ,A.YYPKEY,A.SFYY,A.MZJSPKEY,A.SFJH,A.CFH,A.CARDPKEY,A.JZKH,A.GHSFMS,A.THSJ,A.THRY,A.GHZT,A.JZSJ,A.JZRY,A.FZSJ,A.FZRY,A.SFJZ,A.SFFZ,A.EMSSDJBPKEY,B.XM,B.XB,B.CSRQ,B.HZLX,B.YBKH,B.SFZH,E.JZNL,E.JZNO from HIS_JZ_GHB A LEFT JOIN HIS_HZINFO B ON A.HZPKEY=B.PKEY AND A.JGID=B.JGID LEFT JOIN HIS_JZ_GHQUEUE C ON C.GHPKEY=A.PKEY LEFT JOIN HIS_JZ_BASEINFO E ON A.JZPKEY=E.PKEY AND A.JGID=E.JGID WHERE A.JGID=? AND A.SFJZ=1 AND A.SFFZ=0 AND A.GHSJ >=? AND A.GHSJ <= ? order by A.GHSJ,C.PDYXJ desc,C.PDHM
]]></sql>
<tables>
<table name="HIS_JZ_GHB" insert="true" update="true" delete="true">
<primary>PKEY</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_JZ_GHB" />
<f name="JZPKEY" type="12" table="HIS_JZ_GHB" />
<f name="HZPKEY" type="12" table="HIS_JZ_GHB" />
<f name="GHNUM" type="12" table="HIS_JZ_GHB" />
<f name="FPHM" type="12" table="HIS_JZ_GHB" />
<f name="SFDYFP" type="12" table="HIS_JZ_GHB" />
<f name="GHLB" type="12" table="HIS_JZ_GHB" />
<f name="GHKS" type="12" table="HIS_JZ_GHB" />
<f name="GHSJ" type="93" table="HIS_JZ_GHB" />
<f name="GHRY" type="12" table="HIS_JZ_GHB" />
<f name="GHPBPKEY" type="12" table="HIS_JZ_GHB" />
<f name="JZZS" type="12" table="HIS_JZ_GHB" />
<f name="JZSD" type="12" table="HIS_JZ_GHB" />
<f name="SFZZ" type="12" table="HIS_JZ_GHB" />
<f name="ZZKS" type="12" table="HIS_JZ_GHB" />
<f name="ZZYS" type="12" table="HIS_JZ_GHB" />
<f name="SFZDPKEY" type="12" table="HIS_JZ_GHB" />
<f name="YBZF" type="8" table="HIS_JZ_GHB" />
<f name="GRZF" type="8" table="HIS_JZ_GHB" />
<f name="GHYS" type="12" table="HIS_JZ_GHB" />
<f name="CJR" type="12" table="HIS_JZ_GHB" />
<f name="CJRQ" type="93" table="HIS_JZ_GHB" />
<f name="JGID" type="12" table="HIS_JZ_GHB" />
<f name="GHRQ" type="12" table="HIS_JZ_GHB" />
<f name="YYPKEY" type="12" table="HIS_JZ_GHB" />
<f name="SFYY" type="12" table="HIS_JZ_GHB" />
<f name="MZJSPKEY" type="12" table="HIS_JZ_GHB" />
<f name="SFJH" type="12" table="HIS_JZ_GHB" />
<f name="CFH" type="12" table="HIS_JZ_GHB" />
<f name="CARDPKEY" type="12" table="HIS_JZ_GHB" />
<f name="JZKH" type="12" table="HIS_JZ_GHB" />
<f name="GHSFMS" type="12" table="HIS_JZ_GHB" />
<f name="THSJ" type="93" table="HIS_JZ_GHB" />
<f name="THRY" type="12" table="HIS_JZ_GHB" />
<f name="GHZT" type="12" table="HIS_JZ_GHB" />
<f name="JZSJ" type="93" table="HIS_JZ_GHB" />
<f name="JZRY" type="12" table="HIS_JZ_GHB" />
<f name="FZSJ" type="93" table="HIS_JZ_GHB" />
<f name="FZRY" type="12" table="HIS_JZ_GHB" />
<f name="SFJZ" type="12" table="HIS_JZ_GHB" />
<f name="SFFZ" type="12" table="HIS_JZ_GHB" />
<f name="EMSSDJBPKEY" type="12" table="HIS_JZ_GHB" />
<f name="XM" type="12" />
<f name="XB" type="12" />
<f name="CSRQ" type="93" />
<f name="HZLX" type="12" />
<f name="YBKH" type="12" />
<f name="SFZH" type="12" />
<f name="JZNL" type="12" />
<f name="JZNO" type="12" />
</fields>
<parameter>
<p>12</p>
<p>93</p>
<p>93</p>
</parameter>
</dao>
<dao id="emssFenzhenDao" log="true" type="1" memo="急诊已分诊dao">
<sql><![CDATA[
select A.PKEY,A.JZPKEY,A.HZPKEY,A.GHNUM,A.FPHM,A.SFDYFP,A.GHLB,A.GHKS,A.GHSJ,A.GHRY,A.GHPBPKEY,A.JZZS,A.JZSD,A.SFZZ,A.ZZKS,A.ZZYS,A.SFZDPKEY,A.YBZF,A.GRZF,A.GHYS,A.CJR,A.CJRQ,A.JGID,A.GHRQ,A.YYPKEY,A.SFYY,A.MZJSPKEY,A.SFJH,A.CFH,A.CARDPKEY,A.JZKH,A.GHSFMS,A.THSJ,A.THRY,A.GHZT,A.JZSJ,A.JZRY,A.FZSJ,A.FZRY,A.SFJZ,A.SFFZ,A.EMSSDJBPKEY,B.XM,B.XB,B.CSRQ,B.HZLX,B.YBKH,B.SFZH,D.BQ,E.JZZT,D.QX,E.JZNL,E.JZNO from HIS_JZ_GHB A LEFT JOIN HIS_HZINFO B ON A.HZPKEY=B.PKEY AND A.JGID=B.JGID LEFT JOIN HIS_JZ_GHQUEUE C ON C.GHPKEY=A.PKEY left join HIS_EMSS_DJB D ON A.PKEY=D.GHPKEY AND A.JGID=D.JGID LEFT JOIN HIS_JZ_BASEINFO E ON A.JZPKEY=E.PKEY AND A.JGID=E.JGID WHERE A.JGID=? AND A.SFJZ=1 AND A.SFFZ=1 AND ((A.GHSJ >=? AND A.GHSJ <= ?) OR (E.SFLG=1 AND E.JZZT !='C')) order by D.BQ,C.PDYXJ desc,C.PDHM,A.GHSJ
]]></sql>
<tables>
<table name="HIS_JZ_GHB" insert="true" update="true" delete="true">
<primary>PKEY</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_JZ_GHB" />
<f name="JZPKEY" type="12" table="HIS_JZ_GHB" />
<f name="HZPKEY" type="12" table="HIS_JZ_GHB" />
<f name="GHNUM" type="12" table="HIS_JZ_GHB" />
<f name="FPHM" type="12" table="HIS_JZ_GHB" />
<f name="SFDYFP" type="12" table="HIS_JZ_GHB" />
<f name="GHLB" type="12" table="HIS_JZ_GHB" />
<f name="GHKS" type="12" table="HIS_JZ_GHB" />
<f name="GHSJ" type="93" table="HIS_JZ_GHB" />
<f name="GHRY" type="12" table="HIS_JZ_GHB" />
<f name="GHPBPKEY" type="12" table="HIS_JZ_GHB" />
<f name="JZZS" type="12" table="HIS_JZ_GHB" />
<f name="JZSD" type="12" table="HIS_JZ_GHB" />
<f name="SFZZ" type="12" table="HIS_JZ_GHB" />
<f name="ZZKS" type="12" table="HIS_JZ_GHB" />
<f name="ZZYS" type="12" table="HIS_JZ_GHB" />
<f name="SFZDPKEY" type="12" table="HIS_JZ_GHB" />
<f name="YBZF" type="8" table="HIS_JZ_GHB" />
<f name="GRZF" type="8" table="HIS_JZ_GHB" />
<f name="GHYS" type="12" table="HIS_JZ_GHB" />
<f name="CJR" type="12" table="HIS_JZ_GHB" />
<f name="CJRQ" type="93" table="HIS_JZ_GHB" />
<f name="JGID" type="12" table="HIS_JZ_GHB" />
<f name="GHRQ" type="12" table="HIS_JZ_GHB" />
<f name="YYPKEY" type="12" table="HIS_JZ_GHB" />
<f name="SFYY" type="12" table="HIS_JZ_GHB" />
<f name="MZJSPKEY" type="12" table="HIS_JZ_GHB" />
<f name="SFJH" type="12" table="HIS_JZ_GHB" />
<f name="CFH" type="12" table="HIS_JZ_GHB" />
<f name="CARDPKEY" type="12" table="HIS_JZ_GHB" />
<f name="JZKH" type="12" table="HIS_JZ_GHB" />
<f name="GHSFMS" type="12" table="HIS_JZ_GHB" />
<f name="THSJ" type="93" table="HIS_JZ_GHB" />
<f name="THRY" type="12" table="HIS_JZ_GHB" />
<f name="GHZT" type="12" table="HIS_JZ_GHB" />
<f name="JZSJ" type="93" table="HIS_JZ_GHB" />
<f name="JZRY" type="12" table="HIS_JZ_GHB" />
<f name="FZSJ" type="93" table="HIS_JZ_GHB" />
<f name="FZRY" type="12" table="HIS_JZ_GHB" />
<f name="SFJZ" type="12" table="HIS_JZ_GHB" />
<f name="SFFZ" type="12" table="HIS_JZ_GHB" />
<f name="EMSSDJBPKEY" type="12" table="HIS_JZ_GHB" />
<f name="XM" type="12" />
<f name="XB" type="12" />
<f name="CSRQ" type="93" />
<f name="HZLX" type="12" />
<f name="YBKH" type="12" />
<f name="SFZH" type="12" />
<f name="BQ" type="12" />
<f name="JZZT" type="12" />
<f name="QX" type="12" />
<f name="JZNL" type="12" />
<f name="JZNO" type="12" />
</fields>
<parameter>
<p>12</p>
<p>93</p>
<p>93</p>
</parameter>
</dao>
<dao id="emssJzBaseInfoDao" log="true" type="1" memo="急诊患者就诊基本信息dao">
<sql>select a.PKEY,a.HZPKEY,a.GHPKEY,a.JZLX,a.JZZT,a.JZZB,a.HZFB,a.JZJS,a.ISYB,a.ISZZ,a.YYLX,a.ISLG,a.ISGSSJJ,a.HZYBLX,a.JJKS,a.JJRQ,a.JJYS,a.FBRQ,a.ZYNUM,a.WARD,a.ROOM,a.BED,a.KZRQ,a.JSRQ,a.THRY,a.HDYY,a.HDRQ,a.MZNUM,a.CJR,a.CJRQ,a.JGID,a.JZNO,a.MZNO,a.ZYNO,a.JZKH,a.CARDPKEY,a.JZNL,a.ISJZ,a.ZYLX,a.ZYHZLY,a.ZYYYRQ,a.CYRQ,a.CYYS,a.ZYNOOLD,a.SCZYRQ,a.ISGL,a.ISSJ,b.HZLX,a.GRLX,a.QTGRLX,a.CWFJLX,a.YSLX,a.MQJZINFO,a.ZKRQ,a.RYTJ,a.RYBQ,a.RYJZINFO,a.RYYS,a.RYQK,a.JZZL,a.JYYJ,a.ZYBZ,a.RYZD,a.RYZDMS,a.ZYBAH,a.RYNL,a.RYXSENLD,a.RYXSENLH,a.RYXSENLS,a.ZYZH,a.JZKLX,a.CRFS,a.OTHERCRFS,a.MAINBLYS,a.MAINBLXS,a.MOTHERJZPKEY,a.ZKDATE,a.RQDATE,a.CYKS,a.CYWARD,a.CYBED,a.HZZYZT,a.ISZZJS,a.ZZJSSJ,a.ZZJSR,a.ISYLJS,a.YLJSR,a.YLJSSJ,a.ISZZCWJS,a.CWJSR,a.CWJSSJ,a.ZDZBPKEY,a.CYBQ,a.CYQK,a.ISDEAD,a.DEADRQ,a.ISZK,a.ZYYLDYPKEY,a.ZYYLDYZZ,a.ZYYLDYZRYS,a.ZYBQ,a.RYKS,a.ZYTS,a.ZCKS,a.LOCKFLAG,a.ZCBQ,a.ISFM,a.FMZT,a.FMCF,a.SFLG,a.LGKSSJ,a.EMSSDJBPKEY,a.SFLSTD,a.LSTDYXQ,b.XM,b.XB,b.CSRQ,b.SFZH,b.ZJLX,b.ZJHM,b.TEL,b.EMAIL,b.PIC,b.SIGNPIC,b.ZT,b.MZ,b.NL,b.HYZK,b.YBKH,b.ZY,b.GZDW,b.PHONE,b.BGDH,b.ZGGH,b.HZMJ,b.HZJB,b.LXRGX,b.LXR,b.LXRDH,b.LXRZJLX,b.LXRZJHM,b.GJ,b.XZDZ,b.XZDZJGH,b.JGDZ,b.JGDZJGH,b.CSDZ,b.CSDZJGH,b.YBLX from HIS_JZ_BASEINFO a left join HIS_HZINFO b on a.hzpkey=b.pkey and a.JGID=b.JGID where a.JGID=? and JZLX='J' and a.hzpkey=? and a.pkey=?</sql>
<tables>
<table name="HIS_JZ_BASEINFO" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="GHPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZZT" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZZB" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZFB" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISYB" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISZZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="YYLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISLG" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISGSSJJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZYBLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="JJKS" type="12" table="HIS_JZ_BASEINFO" />
<f name="JJRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="JJYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="FBRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ZYNUM" type="8" table="HIS_JZ_BASEINFO" />
<f name="WARD" type="12" table="HIS_JZ_BASEINFO" />
<f name="ROOM" type="12" table="HIS_JZ_BASEINFO" />
<f name="BED" type="12" table="HIS_JZ_BASEINFO" />
<f name="KZRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="JSRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="THRY" type="12" table="HIS_JZ_BASEINFO" />
<f name="HDYY" type="12" table="HIS_JZ_BASEINFO" />
<f name="HDRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="MZNUM" type="8" table="HIS_JZ_BASEINFO" />
<f name="CJR" type="12" table="HIS_JZ_BASEINFO" />
<f name="CJRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="JGID" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="MZNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZKH" type="12" table="HIS_JZ_BASEINFO" />
<f name="CARDPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZNL" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISJZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYHZLY" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYYYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="CYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="CYYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYNOOLD" type="12" table="HIS_JZ_BASEINFO" />
<f name="SCZYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ISGL" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISSJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="GRLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="QTGRLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="CWFJLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="YSLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="MQJZINFO" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZKRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="RYTJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYBQ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYJZINFO" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYQK" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZZL" type="12" table="HIS_JZ_BASEINFO" />
<f name="JYYJ" type="-5" table="HIS_JZ_BASEINFO" />
<f name="ZYBZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYZD" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYZDMS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYBAH" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYNL" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLD" type="-5" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLH" type="-5" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLS" type="-5" table="HIS_JZ_BASEINFO" />
<f name="ZYZH" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZKLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="CRFS" type="12" table="HIS_JZ_BASEINFO" />
<f name="OTHERCRFS" type="12" table="HIS_JZ_BASEINFO" />
<f name="MAINBLYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="MAINBLXS" type="12" table="HIS_JZ_BASEINFO" />
<f name="MOTHERJZPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZKDATE" type="93" table="HIS_JZ_BASEINFO" />
<f name="RQDATE" type="93" table="HIS_JZ_BASEINFO" />
<f name="CYKS" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYWARD" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYBED" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZZYZT" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISZZJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZZJSSJ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ZZJSR" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISYLJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="YLJSR" type="12" table="HIS_JZ_BASEINFO" />
<f name="YLJSSJ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ISZZCWJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="CWJSR" type="12" table="HIS_JZ_BASEINFO" />
<f name="CWJSSJ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ZDZBPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYBQ" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYQK" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISDEAD" type="12" table="HIS_JZ_BASEINFO" />
<f name="DEADRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ISZK" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYYLDYPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYYLDYZZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYYLDYZRYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYBQ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYKS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYTS" type="-5" table="HIS_JZ_BASEINFO" />
<f name="ZCKS" type="12" table="HIS_JZ_BASEINFO" />
<f name="LOCKFLAG" type="-5" table="HIS_JZ_BASEINFO" />
<f name="ZCBQ" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISFM" type="12" table="HIS_JZ_BASEINFO" />
<f name="FMZT" type="12" table="HIS_JZ_BASEINFO" />
<f name="FMCF" type="12" table="HIS_JZ_BASEINFO" />
<f name="SFLG" type="12" table="HIS_JZ_BASEINFO" />
<f name="LGKSSJ" type="93" table="HIS_JZ_BASEINFO" />
<f name="EMSSDJBPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="SFLSTD" type="12" table="HIS_JZ_BASEINFO" />
<f name="LSTDYXQ" type="-5" table="HIS_JZ_BASEINFO" />
<f name="XM" type="12" />
<f name="XB" type="12" />
<f name="CSRQ" type="93" />
<f name="SFZH" type="12" />
<f name="ZJLX" type="12" />
<f name="ZJHM" type="12" />
<f name="TEL" type="12" />
<f name="EMAIL" type="12" />
<f name="PIC" type="12" />
<f name="SIGNPIC" type="12" />
<f name="ZT" type="12" />
<f name="MZ" type="12" />
<f name="NL" type="12" />
<f name="HYZK" type="12" />
<f name="YBKH" type="12" />
<f name="ZY" type="12" />
<f name="GZDW" type="12" />
<f name="PHONE" type="12" />
<f name="BGDH" type="12" />
<f name="ZGGH" type="12" />
<f name="HZMJ" type="12" />
<f name="HZJB" type="12" />
<f name="LXRGX" type="12" />
<f name="LXR" type="12" />
<f name="LXRDH" type="12" />
<f name="LXRZJLX" type="12" />
<f name="LXRZJHM" type="12" />
<f name="GJ" type="12" />
<f name="XZDZ" type="12" />
<f name="XZDZJGH" type="12" />
<f name="JGDZ" type="12" />
<f name="JGDZJGH" type="12" />
<f name="CSDZ" type="12" />
<f name="CSDZJGH" type="12" />
<f name="YBLX" type="12" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="emssDjbDao" log="true" type="1" memo="急诊患者预检分诊登记dao">
<sql>select PKEY,HZPKEY,GHPKEY,SFCF,SSY,SZY,XY,HX,TW,XL,MB,BZ,YSXT,ESI,ESIPKEY,TTPJ,TTPJPKEY,CSPJ,CSPJPKEY,REMS,REMSPKEY,MEWS,MEWSPKEY,LZZS,BQ,QX,TJFJ,HSXGYY,FZKS,FZHB,QJBQ,SFLSTD,LSTDYXQ,SFZK,ZKKS,QTZZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG,DQBQ,YSBQ,SFLG,GCS,GCSPKEY,FZRQ from HIS_EMSS_DJB where JGID=? and hzpkey=? and pkey=?</sql>
<tables>
<table name="HIS_EMSS_DJB" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_EMSS_DJB" />
<f name="HZPKEY" type="12" table="HIS_EMSS_DJB" />
<f name="GHPKEY" type="12" table="HIS_EMSS_DJB" />
<f name="SFCF" type="12" table="HIS_EMSS_DJB" />
<f name="SSY" type="12" table="HIS_EMSS_DJB" />
<f name="SZY" type="12" table="HIS_EMSS_DJB" />
<f name="XY" type="12" table="HIS_EMSS_DJB" />
<f name="HX" type="12" table="HIS_EMSS_DJB" />
<f name="TW" type="12" table="HIS_EMSS_DJB" />
<f name="XL" type="12" table="HIS_EMSS_DJB" />
<f name="MB" type="12" table="HIS_EMSS_DJB" />
<f name="BZ" type="12" table="HIS_EMSS_DJB" />
<f name="YSXT" type="12" table="HIS_EMSS_DJB" />
<f name="ESI" type="12" table="HIS_EMSS_DJB" />
<f name="ESIPKEY" type="12" table="HIS_EMSS_DJB" />
<f name="TTPJ" type="12" table="HIS_EMSS_DJB" />
<f name="TTPJPKEY" type="12" table="HIS_EMSS_DJB" />
<f name="CSPJ" type="12" table="HIS_EMSS_DJB" />
<f name="CSPJPKEY" type="12" table="HIS_EMSS_DJB" />
<f name="REMS" type="12" table="HIS_EMSS_DJB" />
<f name="REMSPKEY" type="12" table="HIS_EMSS_DJB" />
<f name="MEWS" type="12" table="HIS_EMSS_DJB" />
<f name="MEWSPKEY" type="12" table="HIS_EMSS_DJB" />
<f name="LZZS" type="12" table="HIS_EMSS_DJB" />
<f name="BQ" type="12" table="HIS_EMSS_DJB" />
<f name="QX" type="12" table="HIS_EMSS_DJB" />
<f name="TJFJ" type="12" table="HIS_EMSS_DJB" />
<f name="HSXGYY" type="12" table="HIS_EMSS_DJB" />
<f name="FZKS" type="12" table="HIS_EMSS_DJB" />
<f name="FZHB" type="12" table="HIS_EMSS_DJB" />
<f name="QJBQ" type="12" table="HIS_EMSS_DJB" />
<f name="SFLSTD" type="12" table="HIS_EMSS_DJB" />
<f name="LSTDYXQ" type="-5" table="HIS_EMSS_DJB" />
<f name="SFZK" type="12" table="HIS_EMSS_DJB" />
<f name="ZKKS" type="12" table="HIS_EMSS_DJB" />
<f name="QTZZ" type="12" table="HIS_EMSS_DJB" />
<f name="CJR" type="12" table="HIS_EMSS_DJB" />
<f name="CJRQ" type="93" table="HIS_EMSS_DJB" />
<f name="XGR" type="12" table="HIS_EMSS_DJB" />
<f name="XGRQ" type="93" table="HIS_EMSS_DJB" />
<f name="JGID" type="12" table="HIS_EMSS_DJB" />
<f name="LOCKFLAG" type="-5" table="HIS_EMSS_DJB" />
<f name="DQBQ" type="12" table="HIS_EMSS_DJB" />
<f name="YSBQ" type="12" table="HIS_EMSS_DJB" />
<f name="SFLG" type="12" table="HIS_EMSS_DJB" />
<f name="GCS" type="12" table="HIS_EMSS_DJB" />
<f name="GCSPKEY" type="12" table="HIS_EMSS_DJB" />
<f name="FZRQ" type="93" table="HIS_EMSS_DJB" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="emssLzxxDao" log="true" type="1" memo="急诊患者来诊信息dao">
<sql>select PKEY,HZPKEY,EMSSDJBPKEY,LZLX,LZVALUE,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_EMSS_LZXX where JGID=? and hzpkey=? and EMSSDJBPKEY=? </sql>
<tables>
<table name="HIS_EMSS_LZXX" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_EMSS_LZXX" />
<f name="HZPKEY" type="12" table="HIS_EMSS_LZXX" />
<f name="EMSSDJBPKEY" type="12" table="HIS_EMSS_LZXX" />
<f name="LZLX" type="12" table="HIS_EMSS_LZXX" />
<f name="LZVALUE" type="12" table="HIS_EMSS_LZXX" />
<f name="CJR" type="12" table="HIS_EMSS_LZXX" />
<f name="CJRQ" type="93" table="HIS_EMSS_LZXX" />
<f name="XGR" type="12" table="HIS_EMSS_LZXX" />
<f name="XGRQ" type="93" table="HIS_EMSS_LZXX" />
<f name="JGID" type="12" table="HIS_EMSS_LZXX" />
<f name="LOCKFLAG" type="-5" table="HIS_EMSS_LZXX" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="emssLzzzDao" log="true" type="1" memo="急诊患者来诊症状dao">
<sql>select PKEY,HZPKEY,EMSSDJBPKEY,LZZZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_EMSS_LZZZ where JGID=? and hzpkey=? and EMSSDJBPKEY=?</sql>
<tables>
<table name="HIS_EMSS_LZZZ" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_EMSS_LZZZ" />
<f name="HZPKEY" type="12" table="HIS_EMSS_LZZZ" />
<f name="EMSSDJBPKEY" type="12" table="HIS_EMSS_LZZZ" />
<f name="LZZZ" type="12" table="HIS_EMSS_LZZZ" />
<f name="CJR" type="12" table="HIS_EMSS_LZZZ" />
<f name="CJRQ" type="93" table="HIS_EMSS_LZZZ" />
<f name="XGR" type="12" table="HIS_EMSS_LZZZ" />
<f name="XGRQ" type="93" table="HIS_EMSS_LZZZ" />
<f name="JGID" type="12" table="HIS_EMSS_LZZZ" />
<f name="LOCKFLAG" type="-5" table="HIS_EMSS_LZZZ" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="emssZzflDao" log="true" type="1" memo="急诊症状分类主表dao">
<sql>select PKEY,FLMS,SFKY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_EMSS_ZZFL where JGID=? and SFKY=1 order by pkey</sql>
<tables>
<table name="HIS_EMSS_ZZFL" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_EMSS_ZZFL" />
<f name="FLMS" type="12" table="HIS_EMSS_ZZFL" />
<f name="SFKY" type="12" table="HIS_EMSS_ZZFL" />
<f name="CJR" type="12" table="HIS_EMSS_ZZFL" />
<f name="CJRQ" type="93" table="HIS_EMSS_ZZFL" />
<f name="XGR" type="12" table="HIS_EMSS_ZZFL" />
<f name="XGRQ" type="93" table="HIS_EMSS_ZZFL" />
<f name="JGID" type="12" table="HIS_EMSS_ZZFL" />
<f name="LOCKFLAG" type="-5" table="HIS_EMSS_ZZFL" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="emssZzMxDao" log="true" type="1" memo="急诊症状明细表dao">
<sql>select PKEY,ZZFLPKEY,ZZMS,ZZFJ,ZZFZ,SFKY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_EMSS_ZZFL_MX where JGID=? and SFKY=1 order by pkey</sql>
<tables>
<table name="HIS_EMSS_ZZFL_MX" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>ZZFLPKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="ZZFLPKEY" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="ZZMS" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="ZZFJ" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="ZZFZ" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="SFKY" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="CJR" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="CJRQ" type="93" table="HIS_EMSS_ZZFL_MX" />
<f name="XGR" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="XGRQ" type="93" table="HIS_EMSS_ZZFL_MX" />
<f name="JGID" type="12" table="HIS_EMSS_ZZFL_MX" />
<f name="LOCKFLAG" type="-5" table="HIS_EMSS_ZZFL_MX" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="emssDjbGlbDao" log="true" type="1" memo="急诊登记关联表dao">
<sql>select PKEY,HZPKEY,EMSSDJBPKEY,JZPKEY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_EMSS_DJB_GLB where JGID=? and hzpkey=? and EMSSDJBPKEY=? </sql>
<tables>
<table name="HIS_EMSS_DJB_GLB" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_EMSS_DJB_GLB" />
<f name="HZPKEY" type="12" table="HIS_EMSS_DJB_GLB" />
<f name="EMSSDJBPKEY" type="12" table="HIS_EMSS_DJB_GLB" />
<f name="JZPKEY" type="12" table="HIS_EMSS_DJB_GLB" />
<f name="CJR" type="12" table="HIS_EMSS_DJB_GLB" />
<f name="CJRQ" type="93" table="HIS_EMSS_DJB_GLB" />
<f name="XGR" type="12" table="HIS_EMSS_DJB_GLB" />
<f name="XGRQ" type="93" table="HIS_EMSS_DJB_GLB" />
<f name="JGID" type="12" table="HIS_EMSS_DJB_GLB" />
<f name="LOCKFLAG" type="-5" table="HIS_EMSS_DJB_GLB" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="emssGhhbByGhksDao" log="true" type="1" memo="通过挂号科室查询所有可以挂号的挂号类别">
<sql>select distinct A.PKEY,A.YSPKEY,A.LBPKEY,A.CJR,A.CJRQ,A.XGR,A.XGRQ,A.JGID,A.KSPKEY,A.ISMR,A.LOCKFLAG,B.MC from HIS_GH_LBGLYS A left join HIS_GH_LB B ON A.LBPKEY=B.PKEY AND A.JGID=B.JGID where A.JGID=? and A.KSPKEY=? order by A.ismr,A.pkey </sql>
<tables>
<table name="HIS_GH_LBGLYS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_GH_LBGLYS" />
<f name="YSPKEY" type="12" table="HIS_GH_LBGLYS" />
<f name="LBPKEY" type="12" table="HIS_GH_LBGLYS" />
<f name="CJR" type="12" table="HIS_GH_LBGLYS" />
<f name="CJRQ" type="93" table="HIS_GH_LBGLYS" />
<f name="XGR" type="12" table="HIS_GH_LBGLYS" />
<f name="XGRQ" type="93" table="HIS_GH_LBGLYS" />
<f name="JGID" type="12" table="HIS_GH_LBGLYS" />
<f name="KSPKEY" type="12" table="HIS_GH_LBGLYS" />
<f name="ISMR" type="12" table="HIS_GH_LBGLYS" />
<f name="LOCKFLAG" type="-5" table="HIS_GH_LBGLYS" />
<f name="MC" type="12" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="jzkspopDao" type="1" memo="急诊科室查询dao">
<sql>select DPTID,DPTCODE,DPTNAME,DPTRMARK,DPTADDR,DPTLAYER,DPTTYPE,DPTGPID,DPTSEX,DPTZJM,DPTBAGE,DPTEAGE,DPTTXMJC,DPTYBCODE,CJR,CJRQ,XGR,XGRQ,JGID,DPTFLAG from MAIN_KS where JGID=? and ISJZ=1 and (DPTCODE like ? or DPTNAME like ? or DPTZJM like ?) and DPTFLAG=1 order by DPTCODE</sql>
<tables>
<table delete="true" insert="true" name="MAIN_KS" update="true">
<primary>DPTID</primary>
<primary>DPTCODE</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="DPTID" table="MAIN_KS" type="12"/>
<f name="DPTCODE" table="MAIN_KS" type="12"/>
<f name="DPTNAME" table="MAIN_KS" type="12"/>
<f name="DPTRMARK" table="MAIN_KS" type="12"/>
<f name="DPTADDR" table="MAIN_KS" type="12"/>
<f name="DPTLAYER" table="MAIN_KS" type="12"/>
<f name="DPTTYPE" table="MAIN_KS" type="12"/>
<f name="DPTGPID" table="MAIN_KS" type="12"/>
<f name="DPTSEX" table="MAIN_KS" type="12"/>
<f name="DPTZJM" table="MAIN_KS" type="12"/>
<f name="DPTBAGE" table="MAIN_KS" type="12"/>
<f name="DPTEAGE" table="MAIN_KS" type="12"/>
<f name="DPTTXMJC" table="MAIN_KS" type="12"/>
<f name="DPTYBCODE" table="MAIN_KS" type="12"/>
<f name="CJR" table="MAIN_KS" type="12"/>
<f name="CJRQ" table="MAIN_KS" type="93"/>
<f name="XGR" table="MAIN_KS" type="12"/>
<f name="XGRQ" table="MAIN_KS" type="93"/>
<f name="JGID" table="MAIN_KS" type="12"/>
<f name="DPTFLAG" table="MAIN_KS" type="-5"/>
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="emssLshzWjzDao" log="true" type="1" memo="急诊流水患者未就诊列表dao">
<sql><![CDATA[
select A.PKEY,A.JZPKEY,A.HZPKEY,A.GHPKEY,A.JZSJ,A.JZYS,A.PDZT,A.PDHM,A.GHLB,A.HJZT,A.PDYXJ,A.CJR,A.CJRQ,A.JGID,B.XM,B.XB,B.CSRQ,B.HZLX,B.YBKH,B.SFZH,D.KH,D.KLX,C.GHSJ,C.GHYS,C.CARDPKEY,E.BQ,E.DQBQ,E.QX,E.YSXT,E.GCS,E.TTPJ,E.CSPJ,E.REMS,E.MEWS,F.JZNL,F.JZKH,F.JZKLX,F.JZNO,F.JJYS,F.JJRQ,F.SFLSTD,A.LOCKFLAG from HIS_JZ_GHQUEUE A LEFT JOIN HIS_HZINFO B ON A.HZPKEY=B.PKEY AND A.JGID=B.JGID LEFT JOIN HIS_JZ_GHB C ON A.GHPKEY=C.PKEY LEFT JOIN HIS_CARD_MANAGE D ON B.PKEY=D.HZPKEY AND C.CARDPKEY=D.PKEY left join HIS_EMSS_DJB E ON C.EMSSDJBPKEY=E.PKEY AND C.JGID=E.JGID LEFT JOIN HIS_JZ_BASEINFO F ON A.JZPKEY=F.PKEY AND A.JGID=F.JGID WHERE A.JGID=? AND C.GHKS=? AND C.SFJZ=1 AND (A.PDZT =2 or A.PDZT = 4) AND E.SFLG=0 AND C.GHSJ >=? AND C.GHSJ <= ? order by A.JZSJ desc,A.PDYXJ desc,A.PDHM
]]></sql>
<tables>
<table name="HIS_JZ_GHQUEUE" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JZPKEY</primary>
<primary>GHPKEY</primary>
<primary>PDZT</primary>
<primary>HJZT</primary>
<primary>PDYXJ</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="JZPKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="HZPKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="GHPKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="JZSJ" type="93" table="HIS_JZ_GHQUEUE" />
<f name="JZYS" type="12" table="HIS_JZ_GHQUEUE" />
<f name="PDZT" type="12" table="HIS_JZ_GHQUEUE" />
<f name="PDHM" type="12" table="HIS_JZ_GHQUEUE" />
<f name="GHLB" type="12" table="HIS_JZ_GHQUEUE" />
<f name="HJZT" type="12" table="HIS_JZ_GHQUEUE" />
<f name="PDYXJ" type="12" table="HIS_JZ_GHQUEUE" />
<f name="CJR" type="12" table="HIS_JZ_GHQUEUE" />
<f name="CJRQ" type="93" table="HIS_JZ_GHQUEUE" />
<f name="JGID" type="12" table="HIS_JZ_GHQUEUE" />
<f name="XM" type="12" />
<f name="XB" type="12" />
<f name="CSRQ" type="93" />
<f name="HZLX" type="12" />
<f name="YBKH" type="12" />
<f name="SFZH" type="12" />
<f name="KH" type="12" />
<f name="KLX" type="12" />
<f name="GHSJ" type="93" />
<f name="GHYS" type="12" />
<f name="CARDPKEY" type="12" />
<f name="BQ" type="12" />
<f name="DQBQ" type="12" />
<f name="QX" type="12" />
<f name="YSXT" type="12" />
<f name="GCS" type="12" />
<f name="TTPJ" type="12" />
<f name="CSPJ" type="12" />
<f name="REMS" type="12" />
<f name="MEWS" type="12" />
<f name="JZNL" type="12" />
<f name="JZKH" type="12" />
<f name="JZKLX" type="12" />
<f name="JZNO" type="12" />
<f name="JJYS" type="12" />
<f name="JJRQ" type="93" />
<f name="SFLSTD" type="12" />
<f name="LOCKFLAG" type="-5" table="HIS_JZ_GHQUEUE" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>93</p>
<p>93</p>
</parameter>
</dao>
<dao id="emssPatientListFunctionDao" log="true" cache="true" type="1" memo="查询急诊医生就诊患者dao">
<sql>select '' bh,'' value from dual where 1=2</sql>
<fields>
<f name="bh" type="12" />
<f name="value" type="12" />
</fields>
</dao>
<dao id="emssWjzNumByKsDao" log="true" type="1" memo="急诊未就诊流水患者数量dao">
<sql><![CDATA[
select count(*) num from HIS_JZ_GHQUEUE A LEFT JOIN HIS_HZINFO B ON A.HZPKEY=B.PKEY AND A.JGID=B.JGID LEFT JOIN HIS_JZ_GHB C ON A.GHPKEY=C.PKEY LEFT JOIN HIS_CARD_MANAGE D ON B.PKEY=D.HZPKEY AND C.CARDPKEY=D.PKEY left join HIS_EMSS_DJB E ON C.EMSSDJBPKEY=E.PKEY AND C.JGID=E.JGID WHERE A.JGID=? AND C.GHKS=? AND C.SFJZ=1 AND (A.PDZT = 2 or A.PDZT =4 ) AND E.SFLG=0 AND C.GHSJ >=? AND C.GHSJ <= ? order by A.JZSJ desc,A.PDYXJ desc,A.PDHM
]]></sql>
<fields>
<f name="NUM" type="4" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>93</p>
<p>93</p>
</parameter>
</dao>
<dao id="emssYjzNumByKsDao" log="true" type="1" memo="急诊已就诊流水患者数量dao">
<sql><![CDATA[
select count(*) num from HIS_JZ_GHQUEUE A LEFT JOIN HIS_HZINFO B ON A.HZPKEY=B.PKEY AND A.JGID=B.JGID LEFT JOIN HIS_JZ_GHB C ON A.GHPKEY=C.PKEY LEFT JOIN HIS_CARD_MANAGE D ON B.PKEY=D.HZPKEY AND C.CARDPKEY=D.PKEY left join HIS_EMSS_DJB E ON C.EMSSDJBPKEY=E.PKEY AND C.JGID=E.JGID WHERE A.JGID=? AND C.GHKS=? AND C.SFJZ=1 AND (A.PDZT =3 or A.PDZT = 5 ) AND E.SFLG=0 AND C.GHSJ >=? AND C.GHSJ <= ? order by A.JZSJ desc,A.PDYXJ desc,A.PDHM
]]></sql>
<fields>
<f name="NUM" type="4" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>93</p>
<p>93</p>
</parameter>
</dao>
<dao id="emssLghzBySelfDao" log="true" type="1" memo="急诊留观患者是本医生的数量dao">
<sql>
select count(*) num from HIS_JZ_BASEINFO where JGID=? and JZLX='J' and JZZT='Z' and SFLG='1' and ward=? and jjys = ?
</sql>
<fields>
<f name="NUM" type="4" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="emssLghzByKsDao" log="true" type="1" memo="急诊留观患者是本科室的数量dao">
<sql>
select count(*) num from HIS_JZ_BASEINFO where JGID=? and JZLX='J' and JZZT='Z' and SFLG='1' and ward=? and JJKS = ?
</sql>
<fields>
<f name="NUM" type="4" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="emssLshzYjzDao" log="true" type="1" memo="急诊流水患者已就诊列表dao">
<sql><![CDATA[
select A.PKEY,A.JZPKEY,A.HZPKEY,A.GHPKEY,A.JZSJ,A.JZYS,A.PDZT,A.PDHM,A.GHLB,A.HJZT,A.PDYXJ,A.CJR,A.CJRQ,A.JGID,B.XM,B.XB,B.CSRQ,B.HZLX,B.YBKH,B.SFZH,D.KH,D.KLX,C.GHSJ,C.GHYS,C.CARDPKEY,E.BQ,E.DQBQ,E.QX,E.YSXT,E.GCS,E.TTPJ,E.CSPJ,E.REMS,E.MEWS,F.JZNL,F.JZKH,F.JZKLX,F.JZNO,F.JJYS,F.JJRQ,F.SFLSTD,A.LOCKFLAG from HIS_JZ_GHQUEUE A LEFT JOIN HIS_HZINFO B ON A.HZPKEY=B.PKEY AND A.JGID=B.JGID LEFT JOIN HIS_JZ_GHB C ON A.GHPKEY=C.PKEY LEFT JOIN HIS_CARD_MANAGE D ON B.PKEY=D.HZPKEY AND C.CARDPKEY=D.PKEY left join HIS_EMSS_DJB E ON C.EMSSDJBPKEY=E.PKEY AND C.JGID=E.JGID LEFT JOIN HIS_JZ_BASEINFO F ON A.JZPKEY=F.PKEY AND A.JGID=F.JGID WHERE A.JGID=? AND C.GHKS=? AND C.SFJZ=1 AND (A.PDZT =3 or A.PDZT = 5) AND E.SFLG=0 AND C.GHSJ >=? AND C.GHSJ <= ? order by A.JZSJ desc,A.PDYXJ desc,A.PDHM
]]></sql>
<tables>
<table name="HIS_JZ_GHQUEUE" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JZPKEY</primary>
<primary>GHPKEY</primary>
<primary>PDZT</primary>
<primary>HJZT</primary>
<primary>PDYXJ</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="JZPKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="HZPKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="GHPKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="JZSJ" type="93" table="HIS_JZ_GHQUEUE" />
<f name="JZYS" type="12" table="HIS_JZ_GHQUEUE" />
<f name="PDZT" type="12" table="HIS_JZ_GHQUEUE" />
<f name="PDHM" type="12" table="HIS_JZ_GHQUEUE" />
<f name="GHLB" type="12" table="HIS_JZ_GHQUEUE" />
<f name="HJZT" type="12" table="HIS_JZ_GHQUEUE" />
<f name="PDYXJ" type="12" table="HIS_JZ_GHQUEUE" />
<f name="CJR" type="12" table="HIS_JZ_GHQUEUE" />
<f name="CJRQ" type="93" table="HIS_JZ_GHQUEUE" />
<f name="JGID" type="12" table="HIS_JZ_GHQUEUE" />
<f name="XM" type="12" />
<f name="XB" type="12" />
<f name="CSRQ" type="93" />
<f name="HZLX" type="12" />
<f name="YBKH" type="12" />
<f name="SFZH" type="12" />
<f name="KH" type="12" />
<f name="KLX" type="12" />
<f name="GHSJ" type="93" />
<f name="GHYS" type="12" />
<f name="CARDPKEY" type="12" />
<f name="BQ" type="12" />
<f name="DQBQ" type="12" />
<f name="QX" type="12" />
<f name="YSXT" type="12" />
<f name="GCS" type="12" />
<f name="TTPJ" type="12" />
<f name="CSPJ" type="12" />
<f name="REMS" type="12" />
<f name="MEWS" type="12" />
<f name="JZNL" type="12" />
<f name="JZKH" type="12" />
<f name="JZKLX" type="12" />
<f name="JZNO" type="12" />
<f name="JJYS" type="12" />
<f name="JJRQ" type="93" />
<f name="SFLSTD" type="12" />
<f name="LOCKFLAG" type="-5" table="HIS_JZ_GHQUEUE" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>93</p>
<p>93</p>
</parameter>
</dao>
<!--急诊流水患者病历文书显示菜单列表显示菜单 100136 -->
<dao id="jzlshzemrmenudao" type="1" memo="急诊流水患者病历文书显示菜单列表">
<sql>select '' value,ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100136' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="VALUE" type="12" />
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--急诊留观患者病历文书显示菜单列表显示菜单 100137 -->
<dao id="jzlghzemrmenudao" type="1" memo="急诊留观患者病历文书显示菜单列表">
<sql>select '' value,ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100137' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="VALUE" type="12" />
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--急诊医生工作站诊疗显示菜单 100138 -->
<dao id="jzzlmenudao" type="1" memo="急诊医生工作站诊疗显示菜单">
<sql>select '' value,ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100138' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="VALUE" type="12" />
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<dao id="emssPatientTizhenShowDao" log="true" type="1" memo="急诊医生工作站总览显示患者体征信息dao">
<sql>select '' 收缩压,'' 舒张压,'' 血氧,'' 呼吸,'' 体温,'' 心率,'' 脉搏 from dual where 1=2</sql>
<fields>
<f name="收缩压" type="1" />
<f name="舒张压" type="1" />
<f name="血氧" type="1" />
<f name="呼吸" type="1" />
<f name="体温" type="1" />
<f name="心率" type="1" />
<f name="脉搏" type="1" />
</fields>
</dao>
<dao id="EmssHsgzzGetHzCountDao" log="true" type="1">
<sql>select count(*) num from HIS_JZ_BASEINFO where JGID=? and WARD=? and JZLX='J' and SFLG='1' and JZZT='Z'</sql>
<fields>
<f name="NUM" type="4" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="emssLghzByCurrYsDao" log="true" type="1" memo="当前医生在当前病区的急诊留观患者列表dao">
<sql><![CDATA[
select A.PKEY,A.JZPKEY,A.HZPKEY,A.GHPKEY,A.JZSJ,A.JZYS,A.PDZT,A.PDHM,A.GHLB,A.HJZT,A.PDYXJ,A.CJR,A.CJRQ,A.JGID,B.XM,B.XB,B.CSRQ,B.HZLX,B.YBKH,B.SFZH,D.KH,D.KLX,C.GHSJ,C.GHYS,C.CARDPKEY,E.BQ,E.DQBQ,E.QX,E.YSXT,E.GCS,E.TTPJ,E.CSPJ,E.REMS,E.MEWS,F.JZNL,F.JZKH,F.JZKLX,F.JZNO,F.JJYS,F.JJRQ,F.SFLSTD,G.mc cwmc,H.JBMC,F.ZYNO,F.WARD,F.ZYBAH,F.ZYYLDYZZ,F.ZYYLDYZRYS,F.RYZD,A.LOCKFLAG from HIS_JZ_GHQUEUE A LEFT JOIN HIS_HZINFO B ON A.HZPKEY=B.PKEY AND A.JGID=B.JGID LEFT JOIN HIS_JZ_GHB C ON A.GHPKEY=C.PKEY LEFT JOIN HIS_CARD_MANAGE D ON B.PKEY=D.HZPKEY AND C.CARDPKEY=D.PKEY left join HIS_EMSS_DJB E ON C.EMSSDJBPKEY=E.PKEY AND C.JGID=E.JGID LEFT JOIN HIS_JZ_BASEINFO F ON A.JZPKEY=F.PKEY AND A.JGID=F.JGID left join HIS_BQCW G on F.bed=G.PKEY and F.JGID=G.JGID left join HIS_JZ_MZZD H on A.hzpkey=H.hzpkey and A.pkey=H.jzpkey and A.JGID=H.JGID and H.SFZZD=1 WHERE A.JGID=? and F.JZLX='J' and F.JZZT='Z' and F.SFLG='1' and F.ward=? and F.jjys = ? order by A.JZSJ desc,A.PDYXJ desc,A.PDHM
]]></sql>
<tables>
<table name="HIS_JZ_GHQUEUE" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JZPKEY</primary>
<primary>GHPKEY</primary>
<primary>PDZT</primary>
<primary>HJZT</primary>
<primary>PDYXJ</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="JZPKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="HZPKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="GHPKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="JZSJ" type="93" table="HIS_JZ_GHQUEUE" />
<f name="JZYS" type="12" table="HIS_JZ_GHQUEUE" />
<f name="PDZT" type="12" table="HIS_JZ_GHQUEUE" />
<f name="PDHM" type="12" table="HIS_JZ_GHQUEUE" />
<f name="GHLB" type="12" table="HIS_JZ_GHQUEUE" />
<f name="HJZT" type="12" table="HIS_JZ_GHQUEUE" />
<f name="PDYXJ" type="12" table="HIS_JZ_GHQUEUE" />
<f name="CJR" type="12" table="HIS_JZ_GHQUEUE" />
<f name="CJRQ" type="93" table="HIS_JZ_GHQUEUE" />
<f name="JGID" type="12" table="HIS_JZ_GHQUEUE" />
<f name="XM" type="12" />
<f name="XB" type="12" />
<f name="CSRQ" type="93" />
<f name="HZLX" type="12" />
<f name="YBKH" type="12" />
<f name="SFZH" type="12" />
<f name="KH" type="12" />
<f name="KLX" type="12" />
<f name="GHSJ" type="93" />
<f name="GHYS" type="12" />
<f name="CARDPKEY" type="12" />
<f name="BQ" type="12" />
<f name="DQBQ" type="12" />
<f name="QX" type="12" />
<f name="YSXT" type="12" />
<f name="GCS" type="12" />
<f name="TTPJ" type="12" />
<f name="CSPJ" type="12" />
<f name="REMS" type="12" />
<f name="MEWS" type="12" />
<f name="JZNL" type="12" />
<f name="JZKH" type="12" />
<f name="JZKLX" type="12" />
<f name="JZNO" type="12" />
<f name="JJYS" type="12" />
<f name="JJRQ" type="93" />
<f name="SFLSTD" type="12" />
<f name="cwmc" type="12" />
<f name="JBMC" type="12" />
<f name="ZYNO" type="12" />
<f name="WARD" type="12" />
<f name="ZYBAH" type="12" />
<f name="ZYYLDYZZ" type="12" />
<f name="ZYYLDYZRYS" type="12" />
<f name="RYZD" type="12" />
<f name="LOCKFLAG" type="-5" table="HIS_JZ_GHQUEUE" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="emssLghzByCurrKsDao" log="true" type="1" memo="当前科室在当前病区的急诊留观患者列表dao">
<sql><![CDATA[
select A.PKEY,A.JZPKEY,A.HZPKEY,A.GHPKEY,A.JZSJ,A.JZYS,A.PDZT,A.PDHM,A.GHLB,A.HJZT,A.PDYXJ,A.CJR,A.CJRQ,A.JGID,B.XM,B.XB,B.CSRQ,B.HZLX,B.YBKH,B.SFZH,D.KH,D.KLX,C.GHSJ,C.GHYS,C.CARDPKEY,E.BQ,E.DQBQ,E.QX,E.YSXT,E.GCS,E.TTPJ,E.CSPJ,E.REMS,E.MEWS,F.JZNL,F.JZKH,F.JZKLX,F.JZNO,F.JJYS,F.JJRQ,F.SFLSTD,G.mc cwmc,H.JBMC,F.ZYNO,F.WARD,F.ZYBAH,F.ZYYLDYZZ,F.ZYYLDYZRYS,F.RYZD,A.LOCKFLAG from HIS_JZ_GHQUEUE A LEFT JOIN HIS_HZINFO B ON A.HZPKEY=B.PKEY AND A.JGID=B.JGID LEFT JOIN HIS_JZ_GHB C ON A.GHPKEY=C.PKEY LEFT JOIN HIS_CARD_MANAGE D ON B.PKEY=D.HZPKEY AND C.CARDPKEY=D.PKEY left join HIS_EMSS_DJB E ON C.EMSSDJBPKEY=E.PKEY AND C.JGID=E.JGID LEFT JOIN HIS_JZ_BASEINFO F ON A.JZPKEY=F.PKEY AND A.JGID=F.JGID left join HIS_BQCW G on F.bed=G.PKEY and F.JGID=G.JGID left join HIS_JZ_MZZD H on A.hzpkey=H.hzpkey and A.pkey=H.jzpkey and A.JGID=H.JGID and H.SFZZD=1 WHERE A.JGID=? and F.JZLX='J' and F.JZZT='Z' and F.SFLG='1' and F.ward=? and F.jjks = ? order by A.JZSJ desc,A.PDYXJ desc,A.PDHM
]]></sql>
<tables>
<table name="HIS_JZ_GHQUEUE" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JZPKEY</primary>
<primary>GHPKEY</primary>
<primary>PDZT</primary>
<primary>HJZT</primary>
<primary>PDYXJ</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="JZPKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="HZPKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="GHPKEY" type="12" table="HIS_JZ_GHQUEUE" />
<f name="JZSJ" type="93" table="HIS_JZ_GHQUEUE" />
<f name="JZYS" type="12" table="HIS_JZ_GHQUEUE" />
<f name="PDZT" type="12" table="HIS_JZ_GHQUEUE" />
<f name="PDHM" type="12" table="HIS_JZ_GHQUEUE" />
<f name="GHLB" type="12" table="HIS_JZ_GHQUEUE" />
<f name="HJZT" type="12" table="HIS_JZ_GHQUEUE" />
<f name="PDYXJ" type="12" table="HIS_JZ_GHQUEUE" />
<f name="CJR" type="12" table="HIS_JZ_GHQUEUE" />
<f name="CJRQ" type="93" table="HIS_JZ_GHQUEUE" />
<f name="JGID" type="12" table="HIS_JZ_GHQUEUE" />
<f name="XM" type="12" />
<f name="XB" type="12" />
<f name="CSRQ" type="93" />
<f name="HZLX" type="12" />
<f name="YBKH" type="12" />
<f name="SFZH" type="12" />
<f name="KH" type="12" />
<f name="KLX" type="12" />
<f name="GHSJ" type="93" />
<f name="GHYS" type="12" />
<f name="CARDPKEY" type="12" />
<f name="BQ" type="12" />
<f name="DQBQ" type="12" />
<f name="QX" type="12" />
<f name="YSXT" type="12" />
<f name="GCS" type="12" />
<f name="TTPJ" type="12" />
<f name="CSPJ" type="12" />
<f name="REMS" type="12" />
<f name="MEWS" type="12" />
<f name="JZNL" type="12" />
<f name="JZKH" type="12" />
<f name="JZKLX" type="12" />
<f name="JZNO" type="12" />
<f name="JJYS" type="12" />
<f name="JJRQ" type="93" />
<f name="SFLSTD" type="12" />
<f name="cwmc" type="12" />
<f name="JBMC" type="12" />
<f name="ZYNO" type="12" />
<f name="WARD" type="12" />
<f name="ZYBAH" type="12" />
<f name="ZYYLDYZZ" type="12" />
<f name="ZYYLDYZRYS" type="12" />
<f name="RYZD" type="12" />
<f name="LOCKFLAG" type="-5" table="HIS_JZ_GHQUEUE" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="EmssHsgzzHsglbqDao" log="true" type="1" memo="急诊护士工作站护士关联病区dao">
<sql>
select * from (select distinct a.PKEY,a.BQKEY,a.HSPKEY,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,b.MC,b.BQLC,b.BQXB,b.BQKSNL,b.BQJSNL,b.BQZJM,b.bm,b.xh from HIS_BQGLHS a left join HIS_BQ b on a.JGID=b.JGID and a.BQKEY=b.pkey left join HIS_BQGLKS c on c.JGID=b.JGID and c.BQKEY=b.pkey left join MAIN_KS d on d.DPTID=c.KSKEY and d.JGID=c.JGID where a.JGID=? and d.ISJZ='1' and a.hspkey=? and c.KSKEY like ? and b.SCBZ=1 ) order by bm,xh
</sql>
<tables>
<table name="HIS_BQGLHS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>BQKEY</primary>
<primary>HSPKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_BQGLHS" />
<f name="BQKEY" type="12" table="HIS_BQGLHS" />
<f name="HSPKEY" type="12" table="HIS_BQGLHS" />
<f name="CJR" type="12" table="HIS_BQGLHS" />
<f name="CJRQ" type="93" table="HIS_BQGLHS" />
<f name="XGR" type="12" table="HIS_BQGLHS" />
<f name="XGRQ" type="93" table="HIS_BQGLHS" />
<f name="JGID" type="12" table="HIS_BQGLHS" />
<f name="MC" type="12" />
<f name="BQLC" type="12" />
<f name="BQXB" type="12" />
<f name="BQKSNL" type="12" />
<f name="BQJSNL" type="12" />
<f name="BQZJM" type="12" />
<f name="BM" type="12" />
<f name="XH" type="12" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="emssZydjManageDao" log="true" type="1" memo="急诊留观患者管理界面dao">
<sql>select a.PKEY,a.HZPKEY,a.GHPKEY,a.JZLX,a.JZZT,a.JZZB,a.HZFB,a.JZJS,a.ISYB,a.ISZZ,a.YYLX,a.ISLG,a.ISGSSJJ,a.HZYBLX,a.JJKS,a.JJRQ,a.JJYS,a.FBRQ,a.ZYNUM,a.WARD,a.ROOM,a.BED,a.KZRQ,a.JSRQ,a.THRY,a.HDYY,a.HDRQ,a.MZNUM,a.CJR,a.CJRQ,a.JGID,a.JZNO,a.MZNO,a.ZYNO,a.JZKH,a.CARDPKEY,a.JZNL,a.ISJZ,a.ZYLX,a.ZYHZLY,a.ZYYYRQ,a.CYRQ,a.CYYS,a.ZYNOOLD,a.SCZYRQ,a.ISGL,a.ISSJ,a.HZLX,a.GRLX,a.QTGRLX,a.CWFJLX,a.YSLX,a.MQJZINFO,a.ZKRQ,a.RYTJ,a.RYBQ,a.RYJZINFO,a.RYYS,a.RYQK,a.JZZL,a.JYYJ,a.ZYBZ,a.RYZD,a.RYZDMS,a.ZYBAH,a.RYNL,a.RYXSENLD,a.RYXSENLH,a.RYXSENLS,a.ZYZH,a.JZKLX,b.xm,b.xb,b.GZDW,b.XZDZ,a.CRFS,a.OTHERCRFS,a.MAINBLYS,a.MAINBLXS,a.MOTHERJZPKEY,a.ZKDATE,a.RQDATE,a.CYKS,a.CYWARD,a.CYBED,a.HZZYZT,a.ISZZJS,a.ZZJSSJ,a.ZZJSR,a.ISYLJS,a.YLJSR,a.YLJSSJ,a.ISZZCWJS,a.CWJSR,a.CWJSSJ,a.ZDZBPKEY,a.CYBQ,a.CYQK,a.ISDEAD,a.DEADRQ from HIS_JZ_BASEINFO a left join HIS_HZINFO b on a.JGID=b.JGID and a.HZPKEY=b.pkey where a.JGID=? and a.JZLX='J' AND a.SFLG='1' order by a.JJRQ desc,a.zyno,a.zynum desc </sql>
<tables>
<table name="HIS_JZ_BASEINFO" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>HZPKEY</primary>
<primary>JZZT</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="GHPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZZT" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZZB" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZFB" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISYB" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISZZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="YYLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISLG" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISGSSJJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZYBLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="JJKS" type="12" table="HIS_JZ_BASEINFO" />
<f name="JJRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="JJYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="FBRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ZYNUM" type="8" table="HIS_JZ_BASEINFO" />
<f name="WARD" type="12" table="HIS_JZ_BASEINFO" />
<f name="ROOM" type="12" table="HIS_JZ_BASEINFO" />
<f name="BED" type="12" table="HIS_JZ_BASEINFO" />
<f name="KZRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="JSRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="THRY" type="12" table="HIS_JZ_BASEINFO" />
<f name="HDYY" type="12" table="HIS_JZ_BASEINFO" />
<f name="HDRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="MZNUM" type="8" table="HIS_JZ_BASEINFO" />
<f name="CJR" type="12" table="HIS_JZ_BASEINFO" />
<f name="CJRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="JGID" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="MZNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZKH" type="12" table="HIS_JZ_BASEINFO" />
<f name="CARDPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZNL" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISJZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYHZLY" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYYYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="CYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="CYYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYNOOLD" type="12" table="HIS_JZ_BASEINFO" />
<f name="SCZYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ISGL" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISSJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="GRLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="QTGRLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="CWFJLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="YSLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="MQJZINFO" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZKRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="RYTJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYBQ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYJZINFO" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYQK" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZZL" type="12" table="HIS_JZ_BASEINFO" />
<f name="JYYJ" type="-5" table="HIS_JZ_BASEINFO" />
<f name="ZYBZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYZD" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYZDMS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYBAH" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYNL" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLD" type="-5" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLH" type="-5" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLS" type="-5" table="HIS_JZ_BASEINFO" />
<f name="ZYZH" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZKLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="XM" type="12" />
<f name="xb" type="12" />
<f name="GZDW" type="12" />
<f name="XZDZ" type="12" />
<f name="CRFS" type="12" table="HIS_JZ_BASEINFO" />
<f name="OTHERCRFS" type="12" table="HIS_JZ_BASEINFO" />
<f name="MAINBLYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="MAINBLXS" type="12" table="HIS_JZ_BASEINFO" />
<f name="MOTHERJZPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZKDATE" type="93" table="HIS_JZ_BASEINFO" />
<f name="RQDATE" type="93" table="HIS_JZ_BASEINFO" />
<f name="CYKS" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYWARD" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYBED" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZZYZT" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISZZJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZZJSSJ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ZZJSR" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISYLJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="YLJSR" type="12" table="HIS_JZ_BASEINFO" />
<f name="YLJSSJ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ISZZCWJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="CWJSR" type="12" table="HIS_JZ_BASEINFO" />
<f name="CWJSSJ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ZDZBPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYBQ" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYQK" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISDEAD" type="12" table="HIS_JZ_BASEINFO" />
<f name="DEADRQ" type="93" table="HIS_JZ_BASEINFO" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="emssZyhzYjManagehzinfoDao" log="true" type="1" memo="急诊留观患者押金管理界面患者列表dao">
<sql>select a.PKEY,a.HZPKEY,a.GHPKEY,a.JZLX,a.JZZT,a.JZZB,a.HZFB,a.JZJS,a.ISYB,a.ISZZ,a.YYLX,a.ISLG,a.ISGSSJJ,a.HZYBLX,a.JJKS,a.JJRQ,a.JJYS,a.FBRQ,a.ZYNUM,a.WARD,a.ROOM,a.BED,a.KZRQ,a.JSRQ,a.THRY,a.HDYY,a.HDRQ,a.MZNUM,a.CJR,a.CJRQ,a.JGID,a.JZNO,a.MZNO,a.ZYNO,a.JZKH,a.CARDPKEY,a.JZNL,a.ISJZ,a.ZYLX,a.ZYHZLY,a.ZYYYRQ,a.CYRQ,a.CYYS,a.ZYNOOLD,a.SCZYRQ,a.ISGL,a.ISSJ,a.HZLX,a.GRLX,a.QTGRLX,a.CWFJLX,a.YSLX,a.MQJZINFO,a.ZKRQ,a.RYTJ,a.RYBQ,a.RYJZINFO,a.RYYS,a.RYQK,a.JZZL,a.JYYJ,a.ZYBZ,a.RYZD,a.RYZDMS,a.ZYBAH,a.RYNL,a.RYXSENLD,a.RYXSENLH,a.RYXSENLS,a.ZYZH,a.JZKLX,b.xm,b.xb,b.GZDW,b.XZDZ from HIS_JZ_BASEINFO a left join HIS_HZINFO b on a.JGID=b.JGID and a.HZPKEY=b.pkey where a.JGID=? and a.JZLX='J' AND a.SFLG='1' and a.JZZT='Z' order by a.JJRQ desc </sql>
<tables>
<table name="HIS_JZ_BASEINFO" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>HZPKEY</primary>
<primary>JZZT</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="GHPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZZT" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZZB" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZFB" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISYB" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISZZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="YYLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISLG" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISGSSJJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZYBLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="JJKS" type="12" table="HIS_JZ_BASEINFO" />
<f name="JJRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="JJYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="FBRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ZYNUM" type="8" table="HIS_JZ_BASEINFO" />
<f name="WARD" type="12" table="HIS_JZ_BASEINFO" />
<f name="ROOM" type="12" table="HIS_JZ_BASEINFO" />
<f name="BED" type="12" table="HIS_JZ_BASEINFO" />
<f name="KZRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="JSRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="THRY" type="12" table="HIS_JZ_BASEINFO" />
<f name="HDYY" type="12" table="HIS_JZ_BASEINFO" />
<f name="HDRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="MZNUM" type="8" table="HIS_JZ_BASEINFO" />
<f name="CJR" type="12" table="HIS_JZ_BASEINFO" />
<f name="CJRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="JGID" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="MZNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZKH" type="12" table="HIS_JZ_BASEINFO" />
<f name="CARDPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZNL" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISJZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYHZLY" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYYYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="CYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="CYYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYNOOLD" type="12" table="HIS_JZ_BASEINFO" />
<f name="SCZYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ISGL" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISSJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="GRLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="QTGRLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="CWFJLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="YSLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="MQJZINFO" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZKRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="RYTJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYBQ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYJZINFO" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYQK" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZZL" type="12" table="HIS_JZ_BASEINFO" />
<f name="JYYJ" type="-5" table="HIS_JZ_BASEINFO" />
<f name="ZYBZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYZD" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYZDMS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYBAH" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYNL" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLD" type="-5" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLH" type="-5" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLS" type="-5" table="HIS_JZ_BASEINFO" />
<f name="ZYZH" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZKLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="XM" type="12" />
<f name="xb" type="12" />
<f name="GZDW" type="12" />
<f name="XZDZ" type="12" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="emssZyhzzdinfoDao" log="true" type="1" memo="急诊留观患者账单信息主表dao">
<sql>
SELECT
a.PKEY,
a.HZPKEY,
a.GHPKEY,
a.JZLX,
a.JZZT,
a.JZZB,
a.HZFB,
a.JZJS,
a.ISYB,
a.ISZZ,
a.YYLX,
a.ISLG,
a.ISGSSJJ,
a.HZYBLX,
a.JJKS,
a.JJRQ,
a.JJYS,
a.FBRQ,
a.ZYNUM,
a.WARD,
a.ROOM,
a.BED,
a.KZRQ,
a.JSRQ,
a.THRY,
a.HDYY,
a.HDRQ,
a.MZNUM,
a.CJR,
a.CJRQ,
a.JGID,
a.JZNO,
a.MZNO,
a.ZYNO,
a.JZKH,
a.CARDPKEY,
a.JZNL,
a.ISJZ,
a.ZYLX,
a.ZYHZLY,
a.ZYYYRQ,
a.CYRQ,
a.CYYS,
a.ZYNOOLD,
a.SCZYRQ,
a.ISGL,
a.ISSJ,
a.HZLX,
a.GRLX,
a.QTGRLX,
a.CWFJLX,
a.YSLX,
a.MQJZINFO,
a.ZKRQ,
a.RYTJ,
a.RYBQ,
a.RYJZINFO,
a.RYYS,
a.RYQK,
a.JZZL,
a.JYYJ,
a.ZYBZ,
a.RYZD,
a.RYZDMS,
a.ZYBAH,
a.RYNL,
a.RYXSENLD,
a.RYXSENLH,
a.RYXSENLS,
a.ZYZH,
a.JZKLX,
a.CRFS,
a.OTHERCRFS,
a.MAINBLYS,
a.MAINBLXS,
a.MOTHERJZPKEY,
a.ZKDATE,
a.RQDATE,
a.CYKS,
a.CYWARD,
a.CYBED,
a.HZZYZT,
a.ISZZJS,
a.ZZJSSJ,
a.ZZJSR,
a.ISYLJS,
a.YLJSR,
a.YLJSSJ,
a.ISZZCWJS,
a.CWJSR,
a.CWJSSJ,
a.ZDZBPKEY,
a.CYBQ,
a.CYQK,
a.ISDEAD,
a.DEADRQ,
a.ISZK,
b.xm,
b.xb,
c.PKEY zdpkey,
c.jzpkey,
c.ZDJFLX,
c.JFYBLX,
c.HZRYLX,
c.HZINTIME,
c.HZOUTTIME,
c.BEGINTIME,
c.ENDTIME,
c.JFZJE,
c.JFZKE,
c.JFZKLX,
c.JFJZE,
c.HZPAYSELF,
c.HZZFE,
c.HZZFEORIGN,
c.JFLX,
c.ISHC,
c.HCDJPKEY,
c.JSZT,
c.SFZXTFHSF,
c.TFHSFZDPKEY,
c.JZZDPKEY,
d.PKEY fppkey,
d.GLZDBPKEY,
d.SJPKEY,
d.CLOSEPKEY,
d.JZRQ,
d.CHFPHM,
d.CHPKEY,
d.FPHM,
d.PJLX,
d.SFRY,
d.SFRQ,
d.SFZT,
d.FPLX,
d.FPDRYY,
d.YBLX,
d.YBZFJE,
d.SFJE,
d.YBJSB,
d.CHYY,
d.SFDZP,
d.SFDYFP,
d.SFJZDY,
d.PJZT,
d.TFHSF,
d.SFKS,
d.JJZF,
d.GRZH,
d.YYBC,
d.GRPAY,
f.ZJE yjzje,
c.LOCKFLAG
FROM
HIS_JZ_BASEINFO a
LEFT JOIN HIS_HZINFO b ON a.hzpkey = b.pkey
AND a.JGID = b.JGID
LEFT JOIN HIS_SFZD_ZB c ON a.pkey = c.jzpkey
AND a.JGID = c.JGID
LEFT JOIN HIS_MZJS_MZFPZB d ON c.pkey = d.GLZDBPKEY
AND c.JGID = d.JGID
LEFT JOIN HIS_ZY_YJMANAGE f ON a.pkey = f.jzpkey
AND f.YJTYPE = '01'
AND a.JGID = f.JGID
AND f.YJTYPE = '01'
WHERE
a.JGID =?
AND a.hzpkey =?
AND a.pkey =?
AND c.ZDJFLX = 'JZ'
AND a.JZLX = 'J'
AND a.SFLG = '1'
AND ( c.isHC IS NULL OR c.ISHC = 0 )
ORDER BY
c.CJRQ DESC
</sql>
<tables>
<table name="HIS_JZ_BASEINFO" insert="false" update="true" delete="false">
<primary>PKEY</primary>
<primary>HZPKEY</primary>
</table>
<table name="HIS_MZJS_MZFPZB" insert="false" update="true" delete="false">
<primary>SFZT</primary>
<primary>FPPKEY</primary>
<primary>HZPKEY</primary>
<primary>JZPKEY</primary>
<primary>GLZDBPKEY</primary>
</table>
<table name="HIS_SFZD_ZB" insert="false" update="true" delete="false">
<primary>ZDPKEY</primary>
<primary>HZPKEY</primary>
<primary>ISHC</primary>
<primary>JZPKEY</primary>
<primary>JSZT</primary>
</table>
</tables>
//PKEY,HZPKEY,GHPKEY,JZLX,JZZT,JZZB,HZFB,JZJS,ISYB,ISZZ,YYLX,ISLG,ISGSSJJ,HZYBLX,JJKS,JJRQ,JJYS,FBRQ,ZYNUM,WARD,ROOM,BED,KZRQ,JSRQ,THRY,HDYY,HDRQ,MZNUM,CJR,CJRQ,JGID,JZNO,MZNO,ZYNO,JZKH,CARDPKEY,JZNL,ISJZ,ZYLX,ZYHZLY,ZYYYRQ,CYRQ,CYYS,ZYNOOLD,SCZYRQ,ISGL,ISSJ,HZLX,GRLX,QTGRLX,CWFJLX,YSLX,MQJZINFO,ZKRQ,RYTJ,RYBQ,RYJZINFO,RYYS,RYQK,JZZL,JYYJ,ZYBZ,RYZD,RYZDMS,ZYBAH,RYNL,RYXSENLD,RYXSENLH,RYXSENLS,ZYZH,JZKLX,CRFS,OTHERCRFS,MAINBLYS,MAINBLXS,MOTHERJZPKEY,ZKDATE,RQDATE,CYKS,CYWARD,CYBED,HZZYZT,ISZZJS,ZZJSSJ,ZZJSR,ISYLJS,YLJSR,YLJSSJ,ISZZCWJS,CWJSR,CWJSSJ,ZDZBPKEY,CYBQ,CYQK,ISDEAD,DEADRQ,ISZK,XM,XB,ZDPKEY,JZPKEY,ZDJFLX,JFYBLX,HZRYLX,HZINTIME,HZOUTTIME,BEGINTIME,ENDTIME,JFZJE,JFZKE,JFZKLX,JFJZE,HZPAYSELF,HZZFE,HZZFEORIGN,JFLX,ISHC,HCDJPKEY,JSZT,SFZXTFHSF,TFHSFZDPKEY,JZZDPKEY,FPPKEY,GLZDBPKEY,SJPKEY,CLOSEPKEY,JZRQ,CHFPHM,CHPKEY,FPHM,PJLX,SFRY,SFRQ,SFZT,FPLX,FPDRYY,YBLX,YBZFJE,SFJE,YBJSB,CHYY,SFDZP,SFDYFP,SFJZDY,PJZT,TFHSF,SFKS,JJZF,GRZH,YYBC,GRPAY,YJZJE,LOCKFLAG
<fields>
<f name="PKEY" type="12" table="HIS_JZ_BASEINFO,HIS_MZJS_MZFPZB,HIS_SFZD_ZB" />
<f name="HZPKEY" type="12" table="HIS_JZ_BASEINFO,HIS_MZJS_MZFPZB,HIS_SFZD_ZB" />
<f name="GHPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZZT" type="12" table="HIS_JZ_BASEINFO,HIS_MZJS_MZFPZB" />
<f name="JZZB" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZFB" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISYB" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISZZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="YYLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISLG" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISGSSJJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZYBLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="JJKS" type="12" table="HIS_JZ_BASEINFO" />
<f name="JJRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="JJYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="FBRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ZYNUM" type="-5" table="HIS_JZ_BASEINFO" />
<f name="WARD" type="12" table="HIS_JZ_BASEINFO" />
<f name="ROOM" type="12" table="HIS_JZ_BASEINFO" />
<f name="BED" type="12" table="HIS_JZ_BASEINFO" />
<f name="KZRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="JSRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="THRY" type="12" table="HIS_JZ_BASEINFO" />
<f name="HDYY" type="12" table="HIS_JZ_BASEINFO" />
<f name="HDRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="MZNUM" type="-5" table="HIS_JZ_BASEINFO" />
<f name="CJR" type="12" table="HIS_JZ_BASEINFO,HIS_MZJS_MZFPZB,HIS_SFZD_ZB" />
<f name="CJRQ" type="93" table="HIS_JZ_BASEINFO,HIS_MZJS_MZFPZB,HIS_SFZD_ZB" />
<f name="JGID" type="12" table="HIS_JZ_BASEINFO,HIS_MZJS_MZFPZB,HIS_SFZD_ZB" />
<f name="JZNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="MZNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZKH" type="12" table="HIS_JZ_BASEINFO" />
<f name="CARDPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZNL" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISJZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYHZLY" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYYYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="CYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="CYYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYNOOLD" type="12" table="HIS_JZ_BASEINFO" />
<f name="SCZYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ISGL" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISSJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="GRLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="QTGRLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="CWFJLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="YSLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="MQJZINFO" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZKRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="RYTJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYBQ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYJZINFO" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYQK" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZZL" type="12" table="HIS_JZ_BASEINFO" />
<f name="JYYJ" type="-5" table="HIS_JZ_BASEINFO" />
<f name="ZYBZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYZD" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYZDMS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYBAH" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYNL" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLD" type="-5" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLH" type="-5" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLS" type="-5" table="HIS_JZ_BASEINFO" />
<f name="ZYZH" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZKLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="CRFS" type="12" table="HIS_JZ_BASEINFO" />
<f name="OTHERCRFS" type="12" table="HIS_JZ_BASEINFO" />
<f name="MAINBLYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="MAINBLXS" type="12" table="HIS_JZ_BASEINFO" />
<f name="MOTHERJZPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZKDATE" type="93" table="HIS_JZ_BASEINFO" />
<f name="RQDATE" type="93" table="HIS_JZ_BASEINFO" />
<f name="CYKS" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYWARD" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYBED" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZZYZT" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISZZJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZZJSSJ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ZZJSR" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISYLJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="YLJSR" type="12" table="HIS_JZ_BASEINFO" />
<f name="YLJSSJ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ISZZCWJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="CWJSR" type="12" table="HIS_JZ_BASEINFO" />
<f name="CWJSSJ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ZDZBPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYBQ" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYQK" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISDEAD" type="12" table="HIS_JZ_BASEINFO" />
<f name="DEADRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ISZK" type="12" table="HIS_JZ_BASEINFO" />
<f name="XM" type="12" />
<f name="XB" type="12" />
<f name="ZDPKEY" type="12" />
<f name="JZPKEY" type="12" table="HIS_MZJS_MZFPZB,HIS_SFZD_ZB" />
<f name="ZDJFLX" type="12" table="HIS_SFZD_ZB" />
<f name="JFYBLX" type="12" table="HIS_SFZD_ZB" />
<f name="HZRYLX" type="12" table="HIS_SFZD_ZB" />
<f name="HZINTIME" type="93" table="HIS_SFZD_ZB" />
<f name="HZOUTTIME" type="93" table="HIS_SFZD_ZB" />
<f name="BEGINTIME" type="93" table="HIS_SFZD_ZB" />
<f name="ENDTIME" type="93" table="HIS_SFZD_ZB" />
<f name="JFZJE" type="12" table="HIS_SFZD_ZB" />
<f name="JFZKE" type="12" table="HIS_SFZD_ZB" />
<f name="JFZKLX" type="12" table="HIS_SFZD_ZB" />
<f name="JFJZE" type="12" table="HIS_SFZD_ZB" />
<f name="HZPAYSELF" type="12" table="HIS_SFZD_ZB" />
<f name="HZZFE" type="12" table="HIS_SFZD_ZB" />
<f name="HZZFEORIGN" type="12" table="HIS_SFZD_ZB" />
<f name="JFLX" type="12" table="HIS_SFZD_ZB" />
<f name="ISHC" type="12" table="HIS_SFZD_ZB" />
<f name="HCDJPKEY" type="12" table="HIS_SFZD_ZB" />
<f name="JSZT" type="12" table="HIS_SFZD_ZB" />
<f name="SFZXTFHSF" type="12" table="HIS_SFZD_ZB" />
<f name="TFHSFZDPKEY" type="12" table="HIS_SFZD_ZB" />
<f name="JZZDPKEY" type="12" table="HIS_SFZD_ZB" />
<f name="FPPKEY" type="12" />
<f name="GLZDBPKEY" type="12" table="HIS_MZJS_MZFPZB" />
<f name="SJPKEY" type="12" table="HIS_MZJS_MZFPZB" />
<f name="CLOSEPKEY" type="12" table="HIS_MZJS_MZFPZB" />
<f name="JZRQ" type="93" table="HIS_MZJS_MZFPZB" />
<f name="CHFPHM" type="12" table="HIS_MZJS_MZFPZB" />
<f name="CHPKEY" type="12" table="HIS_MZJS_MZFPZB" />
<f name="FPHM" type="12" table="HIS_MZJS_MZFPZB" />
<f name="PJLX" type="12" table="HIS_MZJS_MZFPZB" />
<f name="SFRY" type="12" table="HIS_MZJS_MZFPZB" />
<f name="SFRQ" type="93" table="HIS_MZJS_MZFPZB" />
<f name="SFZT" type="12" table="HIS_MZJS_MZFPZB" />
<f name="FPLX" type="12" table="HIS_MZJS_MZFPZB" />
<f name="FPDRYY" type="12" table="HIS_MZJS_MZFPZB" />
<f name="YBLX" type="12" table="HIS_MZJS_MZFPZB" />
<f name="YBZFJE" type="12" table="HIS_MZJS_MZFPZB" />
<f name="SFJE" type="12" table="HIS_MZJS_MZFPZB" />
<f name="YBJSB" type="12" table="HIS_MZJS_MZFPZB" />
<f name="CHYY" type="12" table="HIS_MZJS_MZFPZB" />
<f name="SFDZP" type="12" table="HIS_MZJS_MZFPZB" />
<f name="SFDYFP" type="12" table="HIS_MZJS_MZFPZB" />
<f name="SFJZDY" type="12" table="HIS_MZJS_MZFPZB" />
<f name="PJZT" type="12" table="HIS_MZJS_MZFPZB" />
<f name="TFHSF" type="12" table="HIS_MZJS_MZFPZB" />
<f name="SFKS" type="12" table="HIS_MZJS_MZFPZB" />
<f name="JJZF" type="12" table="HIS_MZJS_MZFPZB" />
<f name="GRZH" type="12" table="HIS_MZJS_MZFPZB" />
<f name="YYBC" type="12" table="HIS_MZJS_MZFPZB" />
<f name="GRPAY" type="12" table="HIS_MZJS_MZFPZB" />
<f name="YJZJE" type="12" />
<f name="LOCKFLAG" type="-5" table="HIS_JZ_BASEINFO,HIS_MZJS_MZFPZB,HIS_SFZD_ZB" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="EmssHsgzzGetWaitHzDao" log="true" type="1" memo="急诊用等待区患者就诊信息dao,JZPKEY用来兼容病区dao里面的jzpkey">
<sql>
select '' VALUE,a.PKEY JZPKEY,a.PKEY,a.HZPKEY,a.GHPKEY,a.JZLX,a.JZZT,a.JZZB,a.HZFB,a.JZJS,a.ISYB,a.ISZZ,a.YYLX,a.ISLG,a.ISGSSJJ,a.HZYBLX,a.JJKS,a.JJRQ,a.JJYS,a.FBRQ,a.ZYNUM,a.WARD,a.ROOM,a.BED,a.KZRQ,a.JSRQ,a.THRY,a.HDYY,a.HDRQ,a.MZNUM,a.CJR,a.CJRQ,a.JGID,a.JZNO,a.MZNO,a.ZYNO,a.JZKH,a.CARDPKEY,a.JZNL,a.ISJZ,a.ZYLX,a.ZYHZLY,a.ZYYYRQ,a.CYRQ,a.CYYS,a.ZYNOOLD,a.SCZYRQ,a.ISGL,a.ISSJ,a.HZLX,a.GRLX,a.QTGRLX,a.CWFJLX,a.YSLX,a.MQJZINFO,a.ZKRQ,a.RYTJ,a.RYBQ,a.RYJZINFO,a.RYYS,a.RYQK,a.JZZL,a.JYYJ,a.ZYBZ,a.RYZD,a.RYZDMS,a.ZYBAH,a.RYNL,a.RYXSENLD,a.RYXSENLH,a.RYXSENLS,a.ZYZH,a.JZKLX,a.CRFS,a.OTHERCRFS,a.MAINBLYS,a.MAINBLXS,a.MOTHERJZPKEY,a.ZKDATE,a.RQDATE,b.XM,b.XB,a.CYKS,a.CYWARD,a.CYBED,a.HZZYZT,a.ISZZJS,a.ZZJSSJ,a.ZZJSR,a.ISYLJS,a.YLJSR,a.YLJSSJ,a.ISZZCWJS,a.CWJSR,a.CWJSSJ,a.ZDZBPKEY,a.CYBQ,a.CYQK,a.ISDEAD,a.DEADRQ,a.ISZK,a.ZYYLDYPKEY,a.ZYYLDYZZ,a.ZYYLDYZRYS,a.ZYBQ,a.RYKS,a.ZYTS,a.ZCKS,a.ZCBQ,a.LOCKFLAG,a.ISFM,a.FMZT,a.FMCF,a.RYWARD,a.RYBED from HIS_JZ_BASEINFO a left join HIS_HZINFO b on a.JGID=b.JGID and a.hzpkey=b.pkey where a.JGID=? and a.WARD=? and a.JZLX='J' and a.SFLG='1' and a.JZZT='Z' and a.bed is null
</sql>
<tables>
<table name="HIS_JZ_BASEINFO" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>HZPKEY</primary>
<primary>BED</primary>
<primary>JZZT</primary>
</table>
</tables>
<fields>
<f name="VALUE" type="12" />
<f name="JZPKEY" type="12" />
<f name="PKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="GHPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZZT" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZZB" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZFB" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISYB" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISZZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="YYLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISLG" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISGSSJJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZYBLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="JJKS" type="12" table="HIS_JZ_BASEINFO" />
<f name="JJRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="JJYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="FBRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ZYNUM" type="8" table="HIS_JZ_BASEINFO" />
<f name="WARD" type="12" table="HIS_JZ_BASEINFO" />
<f name="ROOM" type="12" table="HIS_JZ_BASEINFO" />
<f name="BED" type="12" table="HIS_JZ_BASEINFO" />
<f name="KZRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="JSRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="THRY" type="12" table="HIS_JZ_BASEINFO" />
<f name="HDYY" type="12" table="HIS_JZ_BASEINFO" />
<f name="HDRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="MZNUM" type="8" table="HIS_JZ_BASEINFO" />
<f name="CJR" type="12" table="HIS_JZ_BASEINFO" />
<f name="CJRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="JGID" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="MZNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYNO" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZKH" type="12" table="HIS_JZ_BASEINFO" />
<f name="CARDPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZNL" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISJZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYHZLY" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYYYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="CYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="CYYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYNOOLD" type="12" table="HIS_JZ_BASEINFO" />
<f name="SCZYRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ISGL" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISSJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="GRLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="QTGRLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="CWFJLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="YSLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="MQJZINFO" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZKRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="RYTJ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYBQ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYJZINFO" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYQK" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZZL" type="12" table="HIS_JZ_BASEINFO" />
<f name="JYYJ" type="-5" table="HIS_JZ_BASEINFO" />
<f name="ZYBZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYZD" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYZDMS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYBAH" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYNL" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLD" type="-5" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLH" type="-5" table="HIS_JZ_BASEINFO" />
<f name="RYXSENLS" type="-5" table="HIS_JZ_BASEINFO" />
<f name="ZYZH" type="12" table="HIS_JZ_BASEINFO" />
<f name="JZKLX" type="12" table="HIS_JZ_BASEINFO" />
<f name="CRFS" type="12" table="HIS_JZ_BASEINFO" />
<f name="OTHERCRFS" type="12" table="HIS_JZ_BASEINFO" />
<f name="MAINBLYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="MAINBLXS" type="12" table="HIS_JZ_BASEINFO" />
<f name="MOTHERJZPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZKDATE" type="93" table="HIS_JZ_BASEINFO" />
<f name="RQDATE" type="93" table="HIS_JZ_BASEINFO" />
<f name="XM" type="12" />
<f name="XB" type="12" />
<f name="CYKS" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYWARD" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYBED" type="12" table="HIS_JZ_BASEINFO" />
<f name="HZZYZT" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISZZJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZZJSSJ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ZZJSR" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISYLJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="YLJSR" type="12" table="HIS_JZ_BASEINFO" />
<f name="YLJSSJ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ISZZCWJS" type="12" table="HIS_JZ_BASEINFO" />
<f name="CWJSR" type="12" table="HIS_JZ_BASEINFO" />
<f name="CWJSSJ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ZDZBPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYBQ" type="12" table="HIS_JZ_BASEINFO" />
<f name="CYQK" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISDEAD" type="12" table="HIS_JZ_BASEINFO" />
<f name="DEADRQ" type="93" table="HIS_JZ_BASEINFO" />
<f name="ISZK" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYYLDYPKEY" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYYLDYZZ" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYYLDYZRYS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYBQ" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYKS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZYTS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZCKS" type="12" table="HIS_JZ_BASEINFO" />
<f name="ZCBQ" type="12" table="HIS_JZ_BASEINFO" />
<f name="LOCKFLAG" type="12" table="HIS_JZ_BASEINFO" />
<f name="ISFM" type="12" table="HIS_JZ_BASEINFO" />
<f name="FMZT" type="12" table="HIS_JZ_BASEINFO" />
<f name="FMCF" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYWARD" type="12" table="HIS_JZ_BASEINFO" />
<f name="RYBED" type="12" table="HIS_JZ_BASEINFO" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
</datasource>