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.
2638 lines
146 KiB
2638 lines
146 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<datasource>
|
|
<!-- 1 表示 sql语句dao 2表示存储过程dao 默认为sql语句dao-->
|
|
|
|
<dao id="opaMzssybhcDao" log="true" type="1" memo="门诊科室预备手术耗材dao">
|
|
<sql>select PKEY,SQKS,HCBM,HCMC,HCZDYMC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_MZSSYBHC where JGID=? and SQKS=? order by pkey</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_MZSSYBHC" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_MZSSYBHC" />
|
|
<f name="SQKS" type="12" table="HIS_OPA_MZSSYBHC" />
|
|
<f name="HCBM" type="12" table="HIS_OPA_MZSSYBHC" />
|
|
<f name="HCMC" type="12" table="HIS_OPA_MZSSYBHC" />
|
|
<f name="HCZDYMC" type="12" table="HIS_OPA_MZSSYBHC" />
|
|
<f name="CJR" type="12" table="HIS_OPA_MZSSYBHC" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_MZSSYBHC" />
|
|
<f name="XGR" type="12" table="HIS_OPA_MZSSYBHC" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_MZSSYBHC" />
|
|
<f name="JGID" type="12" table="HIS_OPA_MZSSYBHC" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_MZSSYBHC" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="qxgroupdao" type="1" memo="机构权限组">
|
|
<sql>select MAIN_JGQXZ.ID,MAIN_JGQXZ.FZBM,MAIN_JGQXZ.FZMC,
|
|
MAIN_JGQXZ.BZ,MAIN_JGQXZ.CJR,MAIN_JGQXZ.CJRQ,MAIN_JGQXZ.XGR,
|
|
MAIN_JGQXZ.XGRQ,MAIN_JGQXZ.JGID,MAIN_JGQXZ.ZT from MAIN_JGQXZ
|
|
where JGID=? order by FZBM </sql>
|
|
<tables>
|
|
<table delete="true" insert="true" name="MAIN_SYSGROUP" update="true">
|
|
<primary>SYSGROUPID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="ID" table="MAIN_SYSGROUP" type="-5"/>
|
|
<f name="FZBM" table="MAIN_SYSGROUP" type="12"/>
|
|
<f name="FZMC" table="MAIN_SYSGROUP" type="12"/>
|
|
<f name="BZ" table="MAIN_SYSGROUP" type="12"/>
|
|
<f name="CJR" table="MAIN_SYSGROUP" type="12"/>
|
|
<f name="CJRQ" table="MAIN_SYSGROUP" type="93"/>
|
|
<f name="XGR" table="MAIN_SYSGROUP" type="12"/>
|
|
<f name="XGRQ" table="MAIN_SYSGROUP" type="93"/>
|
|
<f name="JGID" table="MAIN_SYSGROUP" type="12"/>
|
|
<f name="ZT" table="MAIN_SYSGROUP" type="-5"/>
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="opaGroupMenuDao" log="true" type="1" memo="手术权限组关联菜单设置dao">
|
|
<sql>select PKEY,QXZ,MENU,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_GROUP where JGID=? and qxz=? </sql>
|
|
<tables>
|
|
<table name="HIS_OPA_GROUP" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>QXZ</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_GROUP" />
|
|
<f name="QXZ" type="12" table="HIS_OPA_GROUP" />
|
|
<f name="MENU" type="12" table="HIS_OPA_GROUP" />
|
|
<f name="CJR" type="12" table="HIS_OPA_GROUP" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_GROUP" />
|
|
<f name="XGR" type="12" table="HIS_OPA_GROUP" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_GROUP" />
|
|
<f name="JGID" type="12" table="HIS_OPA_GROUP" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_GROUP" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaRoomLcDao" log="true" type="1" memo="手术楼层dao">
|
|
<sql>select PKEY,LCBM,LCMC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_SSLC where JGID=? order by pkey</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_SSLC" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_SSLC" />
|
|
<f name="LCBM" type="12" table="HIS_OPA_SSLC" />
|
|
<f name="LCMC" type="12" table="HIS_OPA_SSLC" />
|
|
<f name="CJR" type="12" table="HIS_OPA_SSLC" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_SSLC" />
|
|
<f name="XGR" type="12" table="HIS_OPA_SSLC" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_SSLC" />
|
|
<f name="JGID" type="12" table="HIS_OPA_SSLC" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_SSLC" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaSsjDao" log="true" type="1" memo="手术间dao">
|
|
<sql>SELECT PKEY,SSJBM,SSJMC,OPAROOM,OPALC,OPALX,MRWKKS,SFKY,BKYYY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG FROM HIS_OPA_SSJ WHERE JGID=? ORDER BY PKEY</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_SSJ" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="SSJBM" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="SSJMC" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="OPAROOM" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="OPALC" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="OPALX" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="MRWKKS" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="SFKY" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="BKYYY" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="CJR" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_SSJ" />
|
|
<f name="XGR" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_SSJ" />
|
|
<f name="JGID" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_SSJ" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
<dao id="opaRoomDao" log="true" type="1" memo="DPTTYPE='3'表示科室为手术科室">
|
|
<sql>select DPTID,DPTCODE,DPTNAME,DPTRMARK,DPTADDR,DPTLAYER,DPTTYPE,DPTGPID,DPTSEX,DPTZJM,DPTBAGE,DPTEAGE,DPTTXMJC,DPTYBCODE,CJR,CJRQ,XGR,XGRQ,JGID,DPTFLAG,SCRQ,SCR from MAIN_KS where JGID=? and DPTFLAG='1' and DPTTYPE='3' order by DPTID</sql>
|
|
<tables>
|
|
<table name="MAIN_KS" insert="true" update="true" delete="true">
|
|
<primary>DPTID</primary>
|
|
<primary>DPTCODE</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="DPTID" type="12" table="MAIN_KS" />
|
|
<f name="DPTCODE" type="12" table="MAIN_KS" />
|
|
<f name="DPTNAME" type="12" table="MAIN_KS" />
|
|
<f name="DPTRMARK" type="12" table="MAIN_KS" />
|
|
<f name="DPTADDR" type="12" table="MAIN_KS" />
|
|
<f name="DPTLAYER" type="12" table="MAIN_KS" />
|
|
<f name="DPTTYPE" type="12" table="MAIN_KS" />
|
|
<f name="DPTGPID" type="12" table="MAIN_KS" />
|
|
<f name="DPTSEX" type="12" table="MAIN_KS" />
|
|
<f name="DPTZJM" type="12" table="MAIN_KS" />
|
|
<f name="DPTBAGE" type="12" table="MAIN_KS" />
|
|
<f name="DPTEAGE" type="12" table="MAIN_KS" />
|
|
<f name="DPTTXMJC" type="12" table="MAIN_KS" />
|
|
<f name="DPTYBCODE" type="12" table="MAIN_KS" />
|
|
<f name="CJR" type="12" table="MAIN_KS" />
|
|
<f name="CJRQ" type="93" table="MAIN_KS" />
|
|
<f name="XGR" type="12" table="MAIN_KS" />
|
|
<f name="XGRQ" type="93" table="MAIN_KS" />
|
|
<f name="JGID" type="12" table="MAIN_KS" />
|
|
<f name="DPTFLAG" type="-5" table="MAIN_KS" />
|
|
<f name="SCRQ" type="93" table="MAIN_KS" />
|
|
<f name="SCR" type="12" table="MAIN_KS" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="opaBwYfyyDao" log="true" type="1" memo="手术部位预防用药">
|
|
<sql>select PKEY,BW,YZXPKEY,SFJH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_SSBWYFYY where JGID=? and bw=? order by pkey</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_SSBWYFYY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>BW</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_SSBWYFYY" />
|
|
<f name="BW" type="12" table="HIS_OPA_SSBWYFYY" />
|
|
<f name="YZXPKEY" type="12" table="HIS_OPA_SSBWYFYY" />
|
|
<f name="SFJH" type="12" table="HIS_OPA_SSBWYFYY" />
|
|
<f name="CJR" type="12" table="HIS_OPA_SSBWYFYY" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_SSBWYFYY" />
|
|
<f name="XGR" type="12" table="HIS_OPA_SSBWYFYY" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_SSBWYFYY" />
|
|
<f name="JGID" type="12" table="HIS_OPA_SSBWYFYY" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_SSBWYFYY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaMrDaysDao" log="true" type="1" memo="默认手术列表显示天数dao">
|
|
<sql>SELECT PKEY,QXZ,TS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG FROM HIS_OPA_SSLBMRDAY WHERE JGID=? ORDER BY PKEY</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_SSLBMRDAY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_SSLBMRDAY" />
|
|
<f name="QXZ" type="12" table="HIS_OPA_SSLBMRDAY" />
|
|
<f name="TS" type="-5" table="HIS_OPA_SSLBMRDAY" />
|
|
<f name="CJR" type="12" table="HIS_OPA_SSLBMRDAY" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_SSLBMRDAY" />
|
|
<f name="XGR" type="12" table="HIS_OPA_SSLBMRDAY" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_SSLBMRDAY" />
|
|
<f name="JGID" type="12" table="HIS_OPA_SSLBMRDAY" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_SSLBMRDAY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaYszDao" log="true" cache="true" type="1" memo="手术医生组dao">
|
|
<sql>select PKEY,MC,ZD,YZ,EZ,SZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_SSYSZ where JGID=? order by pkey</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_SSYSZ" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_SSYSZ" />
|
|
<f name="MC" type="12" table="HIS_OPA_SSYSZ" />
|
|
<f name="ZD" type="12" table="HIS_OPA_SSYSZ" />
|
|
<f name="YZ" type="12" table="HIS_OPA_SSYSZ" />
|
|
<f name="EZ" type="12" table="HIS_OPA_SSYSZ" />
|
|
<f name="SZ" type="12" table="HIS_OPA_SSYSZ" />
|
|
<f name="CJR" type="12" table="HIS_OPA_SSYSZ" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_SSYSZ" />
|
|
<f name="XGR" type="12" table="HIS_OPA_SSYSZ" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_SSYSZ" />
|
|
<f name="JGID" type="12" table="HIS_OPA_SSYSZ" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_SSYSZ" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaSetupDao" log="true" cache="true" type="1" memo="手术设置dao">
|
|
<sql>select PKEY,OPAYZXBZ,OPASQYZX,OPASQSJXZ,ZYMROPAROOM,MZMROPAROOM,BRDDGROUP,HGGROUP,SFMRSSJ,SFFSINFO,SFLISRESULT,OPAROOMMZKFYHB,RJOPAPG,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_SETUP where JGID=?</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_SETUP" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="OPAYZXBZ" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="OPASQYZX" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="OPASQSJXZ" type="93" table="HIS_OPA_SETUP" />
|
|
<f name="ZYMROPAROOM" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="MZMROPAROOM" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="BRDDGROUP" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="HGGROUP" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="SFMRSSJ" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="SFFSINFO" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="SFLISRESULT" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="OPAROOMMZKFYHB" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="RJOPAPG" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="CJR" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_SETUP" />
|
|
<f name="XGR" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_SETUP" />
|
|
<f name="JGID" type="12" table="HIS_OPA_SETUP" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_SETUP" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaSetupKzrGroupDao" log="true" cache="true" type="1" memo="手术申请设置科主任权限组dao">
|
|
<sql>select PKEY,QXZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_SETUP_KZRSHGROUP where JGID=? order by pkey</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_SETUP_KZRSHGROUP" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_SETUP_KZRSHGROUP" />
|
|
<f name="QXZ" type="12" table="HIS_OPA_SETUP_KZRSHGROUP" />
|
|
<f name="CJR" type="12" table="HIS_OPA_SETUP_KZRSHGROUP" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_SETUP_KZRSHGROUP" />
|
|
<f name="XGR" type="12" table="HIS_OPA_SETUP_KZRSHGROUP" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_SETUP_KZRSHGROUP" />
|
|
<f name="JGID" type="12" table="HIS_OPA_SETUP_KZRSHGROUP" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_SETUP_KZRSHGROUP" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaSetupDoctorTypeDao" log="true" cache="true" type="1" memo="手术设置中手术医生设置dao">
|
|
<sql>select PKEY,OPAYSLX,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_SETUP_SSYSLX where JGID=? order by pkey</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_SETUP_SSYSLX" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_SETUP_SSYSLX" />
|
|
<f name="OPAYSLX" type="12" table="HIS_OPA_SETUP_SSYSLX" />
|
|
<f name="CJR" type="12" table="HIS_OPA_SETUP_SSYSLX" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_SETUP_SSYSLX" />
|
|
<f name="XGR" type="12" table="HIS_OPA_SETUP_SSYSLX" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_SETUP_SSYSLX" />
|
|
<f name="JGID" type="12" table="HIS_OPA_SETUP_SSYSLX" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_SETUP_SSYSLX" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaSetupDoctorTypeToSSLXDao" log="true" cache="true" type="1" memo="手术设置中手术医生对应手术类型dao">
|
|
<sql>select PKEY,OPAYSLX,OPAFL,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_SETUP_SSYSLX_SSLX where JGID=? and OPAYSLX=? </sql>
|
|
<tables>
|
|
<table name="HIS_OPA_SETUP_SSYSLX_SSLX" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>OPAYSLX</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_SETUP_SSYSLX_SSLX" />
|
|
<f name="OPAYSLX" type="12" table="HIS_OPA_SETUP_SSYSLX_SSLX" />
|
|
<f name="OPAFL" type="12" table="HIS_OPA_SETUP_SSYSLX_SSLX" />
|
|
<f name="CJR" type="12" table="HIS_OPA_SETUP_SSYSLX_SSLX" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_SETUP_SSYSLX_SSLX" />
|
|
<f name="XGR" type="12" table="HIS_OPA_SETUP_SSYSLX_SSLX" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_SETUP_SSYSLX_SSLX" />
|
|
<f name="JGID" type="12" table="HIS_OPA_SETUP_SSYSLX_SSLX" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_SETUP_SSYSLX_SSLX" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaSetupYzxShowDao" log="true" cache="true" type="1" memo="手术设置医嘱项显示dao">
|
|
<sql>select PKEY,PREFIX,YZXSHOW,SUFFIX,XH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_SETUP_YZXSHOW where JGID = ? order by xh</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_SETUP_YZXSHOW" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_SETUP_YZXSHOW" />
|
|
<f name="PREFIX" type="12" table="HIS_OPA_SETUP_YZXSHOW" />
|
|
<f name="YZXSHOW" type="12" table="HIS_OPA_SETUP_YZXSHOW" />
|
|
<f name="SUFFIX" type="12" table="HIS_OPA_SETUP_YZXSHOW" />
|
|
<f name="XH" type="-5" table="HIS_OPA_SETUP_YZXSHOW" />
|
|
<f name="CJR" type="12" table="HIS_OPA_SETUP_YZXSHOW" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_SETUP_YZXSHOW" />
|
|
<f name="XGR" type="12" table="HIS_OPA_SETUP_YZXSHOW" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_SETUP_YZXSHOW" />
|
|
<f name="JGID" type="12" table="HIS_OPA_SETUP_YZXSHOW" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_SETUP_YZXSHOW" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaMzksDao" log="true" type="1" memo="手术麻醉科室dao">
|
|
<sql>select PKEY,MZKS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_MZKS where JGID=? order by pkey</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_MZKS" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_MZKS" />
|
|
<f name="MZKS" type="12" table="HIS_OPA_MZKS" />
|
|
<f name="CJR" type="12" table="HIS_OPA_MZKS" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_MZKS" />
|
|
<f name="XGR" type="12" table="HIS_OPA_MZKS" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_MZKS" />
|
|
<f name="JGID" type="12" table="HIS_OPA_MZKS" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_MZKS" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaOrderListDao" log="true" type="1" memo="手术申请单主表dao">
|
|
<sql>
|
|
|
|
select a.PKEY,a.HZPKEY,a.JZPKEY,a.YZMX,a.JZNO,a.OPAGL,a.SFSF,a.OPASTATE,a.OPAROOM,a.OPATYPE,a.SQKS,a.SQYS,a.HZDH,a.OPADATETIME,a.MZZS,a.MZLYTIME,a.MZBYHCSM,a.SFCFOPA,a.YJSC,a.SFMZ,a.MZPLAN,a.JHTC,a.ZDBZ,a.OPABW,a.OPATW,a.OPAYQ,a.SFGLOPA,a.SFTWXH,a.SFZTXHS,a.SFBX,a.SZBZ,a.XX,a.RH,a.HBSAG,a.HCVAB,a.HIVAB,a.MD,a.QTBZ,a.SFJZ,a.SSJ,a.OPATC,a.OPAPLANTIME,a.SFJB,a.QXHS,a.SFJQX,a.XHHS,a.SFXH,a.QXBZ,a.XHBZ,a.OPAROOMBZ,a.OPAROOMZYSX,a.OPABEGINTIME,a.OPAENDTIME,a.SFINROOMHC,a.INROOMTIME,a.INROOMMAN,a.SFOUTROOMHC,a.OUTROOMTIME,a.OUTROOMMAN,a.MZYS,a.MZZDYS,a.MZHS,a.MZASSISTANT,a.SFJMZS,a.MZGM,a.MZFF,a.MZSBZ,a.SFHZZY,a.YQJHZTIME,a.YQSHZTIME,a.JHZTIME,a.JHZMAN,a.JHZBDTIME,a.RSSJTIME,a.SHZTIME,a.SHZMAN,a.SHZBDTIME,a.CSSJTIME,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,b.pkey yzmxpkey,b.YZZT,b.LOCKFLAG YZMXLOCKFLAG,c.jznl,d.xm,d.xb,e.JBMC,e.JBBM,f.OPAMC,f.OPABM,c.ZYNO,c.JJKS,c.WARD,c.hzlx,c.bed,g.PKEY anespkey,c.cybed,c.jjys,c.JZZT from HIS_OPA_ORDER a left join HIS_YZ_MXB b on a.JGID=b.JGID and a.yzmx=b.pkey left join HIS_JZ_BASEINFO c on a.JGID=c.JGID and a.jzpkey=c.pkey left join HIS_HZINFO d on a.JGID=d.JGID and a.hzpkey=d.pkey left join HIS_OPA_ORDER_SQZD e on a.JGID=e.JGID and a.pkey=e.opapkey AND e.ismain='1' left join HIS_OPA_ORDER_PLANOPA f on a.JGID=f.JGID and a.pkey=f.opapkey and f.ismain='1' left join HIS_OPA_ANES g on a.pkey=g.OPAPKEY and a.JGID=g.JGID where a.JGID=? #select# order by a.CJRQ
|
|
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_YZ_MXB" insert="false" update="true" delete="false">
|
|
<primary>YZMXPKEY</primary>
|
|
<primary>YZZT</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
<table name="HIS_OPA_ORDER" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YZMX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JZNO" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAGL" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFSF" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPASTATE" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATYPE" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SQKS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SQYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HZDH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPADATETIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="MZZS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZLYTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="MZBYHCSM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFCFOPA" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YJSC" type="8" table="HIS_OPA_ORDER" />
|
|
<f name="SFMZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZPLAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JHTC" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="ZDBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPABW" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATW" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAYQ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFGLOPA" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFTWXH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFZTXHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFBX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SZBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="RH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HBSAG" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HCVAB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HIVAB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MD" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QTBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SSJ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATC" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="OPAPLANTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SFJB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QXHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJQX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XHHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFXH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QXBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XHBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOMBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOMZYSX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPABEGINTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="OPAENDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SFINROOMHC" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="INROOMTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="INROOMMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFOUTROOMHC" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OUTROOMTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="OUTROOMMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZZDYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZASSISTANT" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJMZS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZGM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZFF" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZSBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFHZZY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YQJHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="YQSHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JHZMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JHZBDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="RSSJTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SHZMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SHZBDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="CSSJTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JGID" type="12" table="HIS_YZ_MXB,HIS_OPA_ORDER" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="YZMXPKEY" type="12" schemaname="PKEY" table="HIS_YZ_MXB" />
|
|
<f name="YZZT" type="12" table="HIS_YZ_MXB" />
|
|
<f name="YZMXLOCKFLAG" type="-5" schemaname="LOCKFLAG" table="HIS_YZ_MXB" />
|
|
<f name="JZNL" type="12" />
|
|
<f name="XM" type="12" />
|
|
<f name="XB" type="12" />
|
|
<f name="JBMC" type="12" />
|
|
<f name="JBBM" type="12" />
|
|
<f name="OPAMC" type="12" />
|
|
<f name="OPABM" type="12" />
|
|
<f name="ZYNO" type="12" />
|
|
<f name="JJKS" type="12" />
|
|
<f name="WARD" type="12" />
|
|
<f name="HZLX" type="12" />
|
|
<f name="BED" type="12" />
|
|
<f name="anespkey" type="12" />
|
|
<f name="cybed" type="12" />
|
|
<f name="jjys" type="12" />
|
|
<f name="jzzt" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>93</p>
|
|
<p>93</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="newOpaOrderDao" log="true" type="1" memo="建立新的手术申请单dao">
|
|
<sql>select PKEY,HZPKEY,JZPKEY,YZMX,JZNO,OPAGL,SFSF,OPASTATE,OPAROOM,OPATYPE,SQKS,SQYS,HZDH,OPADATETIME,MZZS,MZLYTIME,MZBYHCSM,SFCFOPA,YJSC,SFMZ,MZPLAN,JHTC,ZDBZ,OPABW,OPATW,OPAYQ,SFGLOPA,SFTWXH,SFZTXHS,SFBX,SZBZ,XX,RH,HBSAG,HCVAB,HIVAB,MD,QTBZ,SFJZ,SSJ,OPATC,OPAPLANTIME,SFJB,QXHS,SFJQX,XHHS,SFXH,QXBZ,XHBZ,OPAROOMBZ,OPAROOMZYSX,OPABEGINTIME,OPAENDTIME,SFINROOMHC,INROOMTIME,INROOMMAN,SFOUTROOMHC,OUTROOMTIME,OUTROOMMAN,MZYS,MZZDYS,MZHS,MZASSISTANT,SFJMZS,MZGM,MZFF,MZSBZ,SFHZZY,YQJHZTIME,YQSHZTIME,JHZTIME,JHZMAN,JHZBDTIME,RSSJTIME,SHZTIME,SHZMAN,SHZBDTIME,CSSJTIME,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG,YZXZSJ,YZZXSJ from HIS_OPA_ORDER where 1=2</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ORDER" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YZMX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JZNO" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAGL" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFSF" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPASTATE" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATYPE" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SQKS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SQYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HZDH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPADATETIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="MZZS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZLYTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="MZBYHCSM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFCFOPA" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YJSC" type="8" table="HIS_OPA_ORDER" />
|
|
<f name="SFMZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZPLAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JHTC" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="ZDBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPABW" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATW" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAYQ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFGLOPA" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFTWXH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFZTXHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFBX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SZBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="RH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HBSAG" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HCVAB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HIVAB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MD" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QTBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SSJ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATC" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="OPAPLANTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SFJB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QXHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJQX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XHHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFXH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QXBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XHBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOMBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOMZYSX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPABEGINTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="OPAENDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SFINROOMHC" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="INROOMTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="INROOMMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFOUTROOMHC" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OUTROOMTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="OUTROOMMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZZDYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZASSISTANT" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJMZS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZGM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZFF" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZSBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFHZZY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YQJHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="YQSHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JHZMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JHZBDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="RSSJTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SHZMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SHZBDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="CSSJTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="YZXZSJ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="YZZXSJ" type="93" table="HIS_OPA_ORDER" />
|
|
</fields>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="newOpaOrderSqzdDao" log="true" type="1" memo="新建手术申请诊断dao">
|
|
<sql>select PKEY,HZPKEY,JZPKEY,OPAPKEY,JBBM,JBMC,XH,ISMAIN,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ORDER_SQZD where 1=2</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ORDER_SQZD" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="JBBM" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="JBMC" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="XH" type="-5" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="ISMAIN" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ORDER_SQZD" />
|
|
</fields>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="newOpaOrderPlanOpaDao" log="true" type="1" memo="新建手术申请拟施手术dao">
|
|
<sql>select PKEY,HZPKEY,JZPKEY,OPAPKEY,OPABM,OPAMC,OPAFJ,OPAQKLX,OPAMANKS,OPAYSZ,OPAMAN,OPAONE,OPATWO,OPATHREE,OPAOTHER,OPABZ,ISMAIN,XH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ORDER_PLANOPA where 1=2</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ORDER_PLANOPA" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPABM" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAMC" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAFJ" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAQKLX" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAMANKS" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAYSZ" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAMAN" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAONE" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPATWO" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPATHREE" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAOTHER" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPABZ" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="ISMAIN" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="XH" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ORDER_PLANOPA" />
|
|
</fields>
|
|
</dao>
|
|
|
|
|
|
<dao id="opaOrderDao" log="true" type="1" memo="已经建立的手术申请单dao">
|
|
<sql>select PKEY,HZPKEY,JZPKEY,YZMX,JZNO,OPAGL,SFSF,OPASTATE,OPAROOM,OPATYPE,SQKS,SQYS,HZDH,OPADATETIME,MZZS,MZLYTIME,MZBYHCSM,SFCFOPA,YJSC,SFMZ,MZPLAN,JHTC,ZDBZ,OPABW,OPATW,OPAYQ,SFGLOPA,SFTWXH,SFZTXHS,SFBX,SZBZ,XX,RH,HBSAG,HCVAB,HIVAB,MD,QTBZ,SFJZ,SSJ,OPATC,OPAPLANTIME,SFJB,QXHS,SFJQX,XHHS,SFXH,QXBZ,XHBZ,OPAROOMBZ,OPAROOMZYSX,OPABEGINTIME,OPAENDTIME,SFINROOMHC,INROOMTIME,INROOMMAN,SFOUTROOMHC,OUTROOMTIME,OUTROOMMAN,MZYS,MZZDYS,MZHS,MZASSISTANT,SFJMZS,MZGM,MZFF,MZSBZ,SFHZZY,YQJHZTIME,YQSHZTIME,JHZTIME,JHZMAN,JHZBDTIME,RSSJTIME,SHZTIME,SHZMAN,SHZBDTIME,CSSJTIME,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG,YZXZSJ,YZZXSJ from HIS_OPA_ORDER where JGID=? and hzpkey=? and jzpkey=? and pkey=?</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ORDER" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YZMX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JZNO" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAGL" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFSF" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPASTATE" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATYPE" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SQKS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SQYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HZDH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPADATETIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="MZZS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZLYTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="MZBYHCSM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFCFOPA" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YJSC" type="8" table="HIS_OPA_ORDER" />
|
|
<f name="SFMZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZPLAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JHTC" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="ZDBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPABW" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATW" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAYQ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFGLOPA" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFTWXH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFZTXHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFBX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SZBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="RH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HBSAG" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HCVAB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HIVAB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MD" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QTBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SSJ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATC" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="OPAPLANTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SFJB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QXHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJQX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XHHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFXH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QXBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XHBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOMBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOMZYSX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPABEGINTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="OPAENDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SFINROOMHC" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="INROOMTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="INROOMMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFOUTROOMHC" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OUTROOMTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="OUTROOMMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZZDYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZASSISTANT" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJMZS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZGM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZFF" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZSBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFHZZY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YQJHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="YQSHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JHZMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JHZBDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="RSSJTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SHZMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SHZBDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="CSSJTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="YZXZSJ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="YZZXSJ" type="93" table="HIS_OPA_ORDER" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaOrderSqzdDao" log="true" type="1" memo="已经建立的手术申请诊断dao">
|
|
<sql>select PKEY,HZPKEY,JZPKEY,OPAPKEY,JBBM,JBMC,XH,ISMAIN,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ORDER_SQZD where JGID=? and hzpkey=? and jzpkey=? and opapkey=?</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ORDER_SQZD" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="JBBM" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="JBMC" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="XH" type="-5" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="ISMAIN" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ORDER_SQZD" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ORDER_SQZD" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaOrderPlanOpaDao" log="true" type="1" memo="已经建立的手术申请拟施手术dao">
|
|
<sql>select PKEY,HZPKEY,JZPKEY,OPAPKEY,OPABM,OPAMC,OPAFJ,OPAQKLX,OPAMANKS,OPAYSZ,OPAMAN,OPAONE,OPATWO,OPATHREE,OPAOTHER,OPABZ,ISMAIN,XH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ORDER_PLANOPA where JGID=? and hzpkey=? and jzpkey=? and opapkey=?</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ORDER_PLANOPA" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPABM" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAMC" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAFJ" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAQKLX" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAMANKS" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAYSZ" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAMAN" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAONE" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPATWO" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPATHREE" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPAOTHER" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="OPABZ" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="ISMAIN" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="XH" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ORDER_PLANOPA" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ORDER_PLANOPA" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
<dao id="opaLogNewDao" log="true" type="1" memo="用于新增手术申请操作日志的dao">
|
|
<sql>select PKEY,LOGTYPE,CHANGEINFO,GQOPASTATE,GJOPASTATE,OPAPKEY,HZPKEY,JZPKEY,IPADDR,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_LOG where 1=2</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_LOG" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_LOG" />
|
|
<f name="LOGTYPE" type="12" table="HIS_OPA_LOG" />
|
|
<f name="CHANGEINFO" type="12" table="HIS_OPA_LOG" />
|
|
<f name="GQOPASTATE" type="12" table="HIS_OPA_LOG" />
|
|
<f name="GJOPASTATE" type="12" table="HIS_OPA_LOG" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_LOG" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_LOG" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_LOG" />
|
|
<f name="IPADDR" type="12" table="HIS_OPA_LOG" />
|
|
<f name="CJR" type="12" table="HIS_OPA_LOG" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_LOG" />
|
|
<f name="XGR" type="12" table="HIS_OPA_LOG" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_LOG" />
|
|
<f name="JGID" type="12" table="HIS_OPA_LOG" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_LOG" />
|
|
</fields>
|
|
</dao>
|
|
|
|
|
|
<dao id="opaLogSelectDao" log="true" type="1" memo="用于查询手术申请操作日志的dao">
|
|
<sql><![CDATA[select PKEY,LOGTYPE,GHINFO,GQOPASTATE,GJOPASTATE,OPAPKEY,HZPKEY,JZPKEY,IPADDR,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_LOG where JGID=? and CJRQ >= ? and CJRQ <= ? order by CJRQ ]]></sql>
|
|
<tables>
|
|
<table name="HIS_OPA_LOG" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_LOG" />
|
|
<f name="LOGTYPE" type="12" table="HIS_OPA_LOG" />
|
|
<f name="GHINFO" type="12" table="HIS_OPA_LOG" />
|
|
<f name="GQOPASTATE" type="12" table="HIS_OPA_LOG" />
|
|
<f name="GJOPASTATE" type="12" table="HIS_OPA_LOG" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_LOG" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_LOG" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_LOG" />
|
|
<f name="IPADDR" type="12" table="HIS_OPA_LOG" />
|
|
<f name="CJR" type="12" table="HIS_OPA_LOG" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_LOG" />
|
|
<f name="XGR" type="12" table="HIS_OPA_LOG" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_LOG" />
|
|
<f name="JGID" type="12" table="HIS_OPA_LOG" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_LOG" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>93</p>
|
|
<p>93</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="opaSsjSelectDao" log="true" type="1" memo="手术间dao">
|
|
<sql>SELECT PKEY,SSJBM,SSJMC,OPAROOM,OPALC,OPALX,MRWKKS,SFKY,BKYYY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG FROM HIS_OPA_SSJ WHERE JGID=? and OPAROOM=? and SFKY='1' ORDER BY PKEY</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_SSJ" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="SSJBM" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="SSJMC" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="OPAROOM" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="OPALC" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="OPALX" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="MRWKKS" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="SFKY" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="BKYYY" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="CJR" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_SSJ" />
|
|
<f name="XGR" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_SSJ" />
|
|
<f name="JGID" type="12" table="HIS_OPA_SSJ" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_SSJ" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="opaDdbDao" log="true" type="1" memo="手术调度表dao">
|
|
<sql>select PKEY,HZPKEY,JZPKEY,OPAPKEY,YQJHZTIME,YQSHZTIME,JHZTIME,JHZMAN,JHZBDTIME,RSSJTIME,SHZTIME,SHZMAN,SHZBDTIME,CSSJTIME,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_DDB where JGID=? and hzpkey=? and jzpkey=? and opapkey=?</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_DDB" insert="true" update="true" delete="true">
|
|
<primary>XGRQ</primary>
|
|
<primary>PKEY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_DDB" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_DDB" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_DDB" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_DDB" />
|
|
<f name="YQJHZTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="YQSHZTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="JHZTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="JHZMAN" type="12" table="HIS_OPA_DDB" />
|
|
<f name="JHZBDTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="RSSJTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="SHZTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="SHZMAN" type="12" table="HIS_OPA_DDB" />
|
|
<f name="SHZBDTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="CSSJTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="CJR" type="12" table="HIS_OPA_DDB" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_DDB" />
|
|
<f name="XGR" type="12" table="HIS_OPA_DDB" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_DDB" />
|
|
<f name="JGID" type="12" table="HIS_OPA_DDB" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_DDB" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaHzDdDao" log="true" type="1" memo="手术调度操作dao">
|
|
<sql>
|
|
|
|
|
|
select a.PKEY,a.HZPKEY,a.JZPKEY,b.pkey OPAPKEY,a.YQJHZTIME,a.YQSHZTIME,a.JHZTIME,a.JHZMAN,a.JHZBDTIME,a.RSSJTIME,a.SHZTIME,a.SHZMAN,a.SHZBDTIME,a.CSSJTIME,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,b.OPAROOM,b.OPATYPE,b.SSJ,b.OPATC,b.OPABEGINTIME,b.OPAENDTIME,c.jznl,d.xm,d.xb,c.ZYNO,c.ZYBAH,b.LOCKFLAG opalockflag,b.OPADATETIME,b.SQKS,c.ward,b.OPAGL,b.OPASTATE from HIS_OPA_DDB a left join HIS_OPA_ORDER b on a.JGID=b.JGID and a.opapkey=b.pkey left join HIS_JZ_BASEINFO c on a.JGID=c.JGID and a.jzpkey=c.pkey left join HIS_HZINFO d on a.JGID=d.JGID and a.hzpkey=d.pkey where a.JGID=? #select#
|
|
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_DDB" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
<table name="HIS_OPA_ORDER" insert="true" update="true" delete="true">
|
|
<primary>OPAPKEY</primary>
|
|
<primary>JGID</primary>
|
|
<primary>OPALOCKFLAG</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_DDB" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_DDB,HIS_OPA_ORDER" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_DDB,HIS_OPA_ORDER" />
|
|
<f name="OPAPKEY" type="12" schemaname="PKEY" table="HIS_OPA_DDB" />
|
|
<f name="YQJHZTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="YQSHZTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="JHZTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="JHZMAN" type="12" table="HIS_OPA_DDB" />
|
|
<f name="JHZBDTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="RSSJTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="SHZTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="SHZMAN" type="12" table="HIS_OPA_DDB" />
|
|
<f name="SHZBDTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="CSSJTIME" type="93" table="HIS_OPA_DDB" />
|
|
<f name="CJR" type="12" table="HIS_OPA_DDB" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_DDB" />
|
|
<f name="XGR" type="12" table="HIS_OPA_DDB" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_DDB" />
|
|
<f name="JGID" type="12" table="HIS_OPA_DDB,HIS_OPA_ORDER" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_DDB" />
|
|
<f name="OPAROOM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATYPE" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SSJ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATC" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="OPABEGINTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="OPAENDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JZNL" type="12" />
|
|
<f name="XM" type="12" />
|
|
<f name="XB" type="12" />
|
|
<f name="ZYNO" type="12" />
|
|
<f name="ZYBAH" type="12" />
|
|
<f name="OPALOCKFLAG" type="12" schemaname="LOCKFLAG" table="HIS_OPA_ORDER" />
|
|
<f name="OPADATETIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SQKS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="ward" type="12"/>
|
|
<f name="OPAGL" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPASTATE" type="12" table="HIS_OPA_ORDER" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>93</p>
|
|
<p>93</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
<dao id="opaDbhzOrderDao" log="true" type="1" memo="手术已经转运的调拨患者dao">
|
|
<sql>
|
|
|
|
select a.PKEY,a.HZPKEY,a.JZPKEY,a.YZMX,a.JZNO,a.OPAGL,a.SFSF,a.OPASTATE,a.OPAROOM,a.OPATYPE,a.SQKS,a.SQYS,a.HZDH,a.OPADATETIME,a.MZZS,a.MZLYTIME,a.MZBYHCSM,a.SFCFOPA,a.YJSC,a.SFMZ,a.MZPLAN,a.JHTC,a.ZDBZ,a.OPABW,a.OPATW,a.OPAYQ,a.SFGLOPA,a.SFTWXH,a.SFZTXHS,a.SFBX,a.SZBZ,a.XX,a.RH,a.HBSAG,a.HCVAB,a.HIVAB,a.MD,a.QTBZ,a.SFJZ,a.SSJ,a.OPATC,a.OPAPLANTIME,a.SFJB,a.QXHS,a.SFJQX,a.XHHS,a.SFXH,a.QXBZ,a.XHBZ,a.OPAROOMBZ,a.OPAROOMZYSX,a.OPABEGINTIME,a.OPAENDTIME,a.SFINROOMHC,a.INROOMTIME,a.INROOMMAN,a.SFOUTROOMHC,a.OUTROOMTIME,a.OUTROOMMAN,a.MZYS,a.MZZDYS,a.MZHS,a.MZASSISTANT,a.SFJMZS,a.MZGM,a.MZFF,a.MZSBZ,a.SFHZZY,a.YQJHZTIME,a.YQSHZTIME,a.JHZTIME,a.JHZMAN,a.JHZBDTIME,a.RSSJTIME,a.SHZTIME,a.SHZMAN,a.SHZBDTIME,a.CSSJTIME,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,b.pkey yzmxpkey,b.YZZT,b.LOCKFLAG YZMXLOCKFLAG,c.jznl,d.xm,d.xb,e.JBMC,e.JBBM,f.OPAMC,f.OPABM,c.ZYNO,c.JJKS,c.WARD,c.hzlx,c.bed,c.ZYBAH from HIS_OPA_ORDER a left join HIS_YZ_MXB b on a.JGID=b.JGID and a.yzmx=b.pkey left join HIS_JZ_BASEINFO c on a.JGID=c.JGID and a.jzpkey=c.pkey left join HIS_HZINFO d on a.JGID=d.JGID and a.hzpkey=d.pkey left join HIS_OPA_ORDER_SQZD e on a.JGID=e.JGID and a.pkey=e.opapkey AND e.ismain='1' left join HIS_OPA_ORDER_PLANOPA f on a.JGID=f.JGID and a.pkey=f.opapkey and f.ismain='1' where a.JGID=? and SFHZZY='1' #select# order by a.CJRQ
|
|
|
|
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_YZ_MXB" insert="false" update="true" delete="false">
|
|
<primary>YZMXPKEY</primary>
|
|
<primary>YZZT</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
<table name="HIS_OPA_ORDER" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YZMX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JZNO" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAGL" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFSF" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPASTATE" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATYPE" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SQKS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SQYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HZDH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPADATETIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="MZZS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZLYTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="MZBYHCSM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFCFOPA" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YJSC" type="8" table="HIS_OPA_ORDER" />
|
|
<f name="SFMZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZPLAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JHTC" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="ZDBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPABW" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATW" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAYQ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFGLOPA" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFTWXH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFZTXHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFBX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SZBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="RH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HBSAG" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HCVAB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HIVAB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MD" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QTBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SSJ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATC" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="OPAPLANTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SFJB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QXHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJQX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XHHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFXH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QXBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XHBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOMBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOMZYSX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPABEGINTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="OPAENDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SFINROOMHC" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="INROOMTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="INROOMMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFOUTROOMHC" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OUTROOMTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="OUTROOMMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZZDYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZASSISTANT" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJMZS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZGM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZFF" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZSBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFHZZY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YQJHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="YQSHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JHZMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JHZBDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="RSSJTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SHZMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SHZBDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="CSSJTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JGID" type="12" table="HIS_YZ_MXB,HIS_OPA_ORDER" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="YZMXPKEY" type="12" schemaname="PKEY" table="HIS_YZ_MXB" />
|
|
<f name="YZZT" type="12" table="HIS_YZ_MXB" />
|
|
<f name="YZMXLOCKFLAG" type="-5" schemaname="LOCKFLAG" table="HIS_YZ_MXB" />
|
|
<f name="JZNL" type="12" />
|
|
<f name="XM" type="12" />
|
|
<f name="XB" type="12" />
|
|
<f name="JBMC" type="12" />
|
|
<f name="JBBM" type="12" />
|
|
<f name="OPAMC" type="12" />
|
|
<f name="OPABM" type="12" />
|
|
<f name="ZYNO" type="12" />
|
|
<f name="JJKS" type="12" />
|
|
<f name="WARD" type="12" />
|
|
<f name="HZLX" type="12" />
|
|
<f name="BED" type="12" />
|
|
<f name="ZYBAH" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>93</p>
|
|
<p>93</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="opaRoomQdxmDao" log="true" type="1" memo="手术室清点项目维护">
|
|
<sql>select PKEY,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ROOM_QDXM where JGID=? order by pkey</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ROOM_QDXM" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ROOM_QDXM" />
|
|
<f name="BM" type="12" table="HIS_OPA_ROOM_QDXM" />
|
|
<f name="MC" type="12" table="HIS_OPA_ROOM_QDXM" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ROOM_QDXM" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ROOM_QDXM" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ROOM_QDXM" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ROOM_QDXM" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ROOM_QDXM" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ROOM_QDXM" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaRoomQdwhDao" log="true" type="1" memo="手术室清点维护类型设置dao">
|
|
<sql>select PKEY,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ROOM_QDWH where JGID=? order by pkey</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ROOM_QDWH" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ROOM_QDWH" />
|
|
<f name="BM" type="12" table="HIS_OPA_ROOM_QDWH" />
|
|
<f name="MC" type="12" table="HIS_OPA_ROOM_QDWH" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ROOM_QDWH" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ROOM_QDWH" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ROOM_QDWH" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ROOM_QDWH" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ROOM_QDWH" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ROOM_QDWH" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaRoomQdxmSelectDao" log="true" type="1" memo="清点项目选择dao">
|
|
<sql>select PKEY,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ROOM_QDXM where JGID=? and pkey not in (select XMPKEY from HIS_OPA_ROOM_QDWHXM where JGID=? AND WHPKEY =?) order by pkey</sql>
|
|
<fields>
|
|
<f name="PKEY" type="12" />
|
|
<f name="BM" type="12" />
|
|
<f name="MC" type="12" />
|
|
<f name="CJR" type="12" />
|
|
<f name="CJRQ" type="93" />
|
|
<f name="XGR" type="12" />
|
|
<f name="XGRQ" type="93" />
|
|
<f name="JGID" type="12" />
|
|
<f name="LOCKFLAG" type="-5" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaRoomQdwhxmDao" log="true" type="1" memo="已经设置的清点项目">
|
|
<sql>select PKEY,WHPKEY,XMPKEY,MRNUM,XH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ROOM_QDWHXM where JGID=? and whpkey=? order by xh</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ROOM_QDWHXM" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ROOM_QDWHXM" />
|
|
<f name="WHPKEY" type="12" table="HIS_OPA_ROOM_QDWHXM" />
|
|
<f name="XMPKEY" type="12" table="HIS_OPA_ROOM_QDWHXM" />
|
|
<f name="MRNUM" type="-5" table="HIS_OPA_ROOM_QDWHXM" />
|
|
<f name="XH" type="-5" table="HIS_OPA_ROOM_QDWHXM" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ROOM_QDWHXM" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ROOM_QDWHXM" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ROOM_QDWHXM" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ROOM_QDWHXM" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ROOM_QDWHXM" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ROOM_QDWHXM" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaRoomQdMainDao" log="true" type="1" memo="手术室清点主表dao">
|
|
<sql>SELECT PKEY,HZPKEY,JZPKEY,OPAPKEY,OPAROOM,SSJ,OPATC,XX,CF,XL,SQQXHS,SQXHHS,GQQXHS,GQXHHS,GHQXHS,GHXHHS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG FROM HIS_OPA_ROOM_QD WHERE JGID=? AND OPAPKEY=?</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ROOM_QD" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="OPAROOM" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="SSJ" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="OPATC" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="XX" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="CF" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="XL" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="SQQXHS" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="SQXHHS" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="GQQXHS" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="GQXHHS" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="GHQXHS" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="GHXHHS" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ROOM_QD" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ROOM_QD" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ROOM_QD" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ROOM_QD" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaRoomQdItemsDao" log="true" type="1" memo="手术室清点器械项目dao">
|
|
<sql>select PKEY,OPAPKEY,QDPKEY,QDQX,XQQD,ZJS,GQHD,QHHD,FPHHD,XH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ROOM_QDITEMS where JGID=? and opapkey=? and qdpkey=? order by xh</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ROOM_QDITEMS" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="QDPKEY" type="12" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="QDQX" type="12" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="XQQD" type="-5" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="ZJS" type="-5" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="GQHD" type="-5" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="QHHD" type="-5" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="FPHHD" type="-5" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="XH" type="-5" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ROOM_QDITEMS" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ROOM_QDITEMS" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaRoomQdWjbqkDao" log="true" type="1" memo="手术室清点无菌包情况dao">
|
|
<sql>select PKEY,OPAPKEY,QDPKEY,WJBMC,MJTIME,SFSX,SXTIME,XH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ROOM_QDWJBQK where JGID=? and opapkey=? and qdpkey=? order by xh</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ROOM_QDWJBQK" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ROOM_QDWJBQK" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ROOM_QDWJBQK" />
|
|
<f name="QDPKEY" type="12" table="HIS_OPA_ROOM_QDWJBQK" />
|
|
<f name="WJBMC" type="12" table="HIS_OPA_ROOM_QDWJBQK" />
|
|
<f name="MJTIME" type="93" table="HIS_OPA_ROOM_QDWJBQK" />
|
|
<f name="SFSX" type="12" table="HIS_OPA_ROOM_QDWJBQK" />
|
|
<f name="SXTIME" type="93" table="HIS_OPA_ROOM_QDWJBQK" />
|
|
<f name="XH" type="-5" table="HIS_OPA_ROOM_QDWJBQK" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ROOM_QDWJBQK" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ROOM_QDWJBQK" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ROOM_QDWJBQK" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ROOM_QDWJBQK" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ROOM_QDWJBQK" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ROOM_QDWJBQK" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaAqhcMzssqDao" log="true" type="1" memo="手术安全核查的麻醉实施前部分dao">
|
|
<sql>select PKEY,HZPKEY,JZPKEY,OPAPKEY,SFHZ,SSFSQR,SSBWZQ,SSBWYBJ,SSYSSMYY,SSZQTY,MZZQTY,MZFSQR,MZSBWC,PFSFWZ,SQPFZBZQ,JMTDJLWC,HZSFGMS,KJYWPSJG,SQBX,JT,TNZRW,YXXZL,QT,QZR,QZTIME,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_AQHC_MZSSQ where JGID=? and opapkey=?</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_AQHC_MZSSQ" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="SFHZ" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="SSFSQR" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="SSBWZQ" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="SSBWYBJ" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="SSYSSMYY" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="SSZQTY" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="MZZQTY" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="MZFSQR" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="MZSBWC" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="PFSFWZ" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="SQPFZBZQ" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="JMTDJLWC" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="HZSFGMS" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="KJYWPSJG" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="SQBX" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="JT" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="TNZRW" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="YXXZL" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="QT" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="QZR" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="QZTIME" type="93" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="CJR" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="XGR" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="JGID" type="12" table="HIS_OPA_AQHC_MZSSQ" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_AQHC_MZSSQ" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaAqhcPfqkqDao" log="true" type="1" memo="手术安全核查的皮肤切开前部分dao">
|
|
<sql>select PKEY,HZPKEY,JZPKEY,OPAPKEY,SFHZ,SSFSQR,SSBWBSQR,YJSSSJ,SSYJSXL,SSGZD,SSYSCSQT,MZGZD,MZYSCSQT,WPMJHG,YQSB,SQSZTSYYQK,SSHSCSQT,SFYXZL,QT,QZR,QZTIME,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_AQHC_PFQKQ where JGID=? and opapkey=?</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_AQHC_PFQKQ" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="SFHZ" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="SSFSQR" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="SSBWBSQR" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="YJSSSJ" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="SSYJSXL" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="SSGZD" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="SSYSCSQT" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="MZGZD" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="MZYSCSQT" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="WPMJHG" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="YQSB" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="SQSZTSYYQK" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="SSHSCSQT" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="SFYXZL" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="QT" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="QZR" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="QZTIME" type="93" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="CJR" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="XGR" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="JGID" type="12" table="HIS_OPA_AQHC_PFQKQ" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_AQHC_PFQKQ" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaAqhcHzlsqDao" log="true" type="1" memo="手术安全核查的患者离室前部分dao">
|
|
<sql>select PKEY,HZPKEY,JZPKEY,OPAPKEY,SFHZ,SJSSFSQR,SSYYSXHC,SSYWQDZQ,SSBBQR,PFSFWZ,ZXJMTL,DMTL,QGCG,SKYL,WG,NG,WZJM,GZGLQT,HFS,BF,ICUBF,JZ,LY,QT,QZR,QZTIME,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_AQHC_HZLSQ where JGID=? and opapkey=?</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_AQHC_HZLSQ" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="SFHZ" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="SJSSFSQR" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="SSYYSXHC" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="SSYWQDZQ" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="SSBBQR" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="PFSFWZ" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="ZXJMTL" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="DMTL" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="QGCG" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="SKYL" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="WG" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="NG" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="WZJM" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="GZGLQT" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="HFS" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="BF" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="ICUBF" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="JZ" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="LY" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="QT" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="QZR" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="QZTIME" type="93" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="CJR" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="XGR" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="JGID" type="12" table="HIS_OPA_AQHC_HZLSQ" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_AQHC_HZLSQ" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaFxpgDao" log="true" type="1" memo="手术风险评估dao">
|
|
<sql>select PKEY,HZPKEY,JZPKEY,OPAPKEY,SSQKQJD,SSYSQM,ASA,QKYHQK,MZYSQM,SSQXTIME,SSLB,XHHSQM,SSQJDPF,ASAPF,SSQXTIMEPF,TOTAL,NNIS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_FXPG where JGID=? and opapkey=?</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_FXPG" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="SSQKQJD" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="SSYSQM" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="ASA" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="QKYHQK" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="MZYSQM" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="SSQXTIME" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="SSLB" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="XHHSQM" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="SSQJDPF" type="-5" table="HIS_OPA_FXPG" />
|
|
<f name="ASAPF" type="-5" table="HIS_OPA_FXPG" />
|
|
<f name="SSQXTIMEPF" type="-5" table="HIS_OPA_FXPG" />
|
|
<f name="TOTAL" type="-5" table="HIS_OPA_FXPG" />
|
|
<f name="NNIS" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="CJR" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_FXPG" />
|
|
<f name="XGR" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_FXPG" />
|
|
<f name="JGID" type="12" table="HIS_OPA_FXPG" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_FXPG" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="opaSMDLDao" log="true" type="1" memo="手术麻醉大类dao">
|
|
<sql>
|
|
select PKEY,DLBM,DLMC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_BASE_SMDL where JGID=? ORDER BY PKEY
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_BASE_SMDL" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_BASE_SMDL" />
|
|
<f name="DLBM" type="12" table="HIS_OPA_BASE_SMDL" />
|
|
<f name="DLMC" type="12" table="HIS_OPA_BASE_SMDL" />
|
|
<f name="CJR" type="12" table="HIS_OPA_BASE_SMDL" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_BASE_SMDL" />
|
|
<f name="XGR" type="12" table="HIS_OPA_BASE_SMDL" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_BASE_SMDL" />
|
|
<f name="JGID" type="12" table="HIS_OPA_BASE_SMDL" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_BASE_SMDL" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="opaSMZLDao" log="true" type="1" memo="手术麻醉子类dao">
|
|
<sql>
|
|
select PKEY,DLPKEY,ZLBM,ZLMC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_BASE_SMZL where JGID=? and dlpkey=? order by pkey
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_BASE_SMZL" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>DLPKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_BASE_SMZL" />
|
|
<f name="DLPKEY" type="12" table="HIS_OPA_BASE_SMZL" />
|
|
<f name="ZLBM" type="12" table="HIS_OPA_BASE_SMZL" />
|
|
<f name="ZLMC" type="12" table="HIS_OPA_BASE_SMZL" />
|
|
<f name="CJR" type="12" table="HIS_OPA_BASE_SMZL" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_BASE_SMZL" />
|
|
<f name="XGR" type="12" table="HIS_OPA_BASE_SMZL" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_BASE_SMZL" />
|
|
<f name="JGID" type="12" table="HIS_OPA_BASE_SMZL" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_BASE_SMZL" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaMzyzDao" log="true" type="1" memo="手术麻醉常用医嘱dao">
|
|
<sql>
|
|
select PKEY,YZBM,YZMC,HISYZPKEY,XMFL,SHOWFL,YZDW,ZDZ,ZXZ,ZDJXZ,ZXJXZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG,PYM,WBM from HIS_OPA_MZYZ where JGID=? order by pkey
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_MZYZ" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="YZBM" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="YZMC" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="HISYZPKEY" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="XMFL" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="SHOWFL" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="YZDW" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="ZDZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="ZXZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="ZDJXZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="ZXJXZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="CJR" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_MZYZ" />
|
|
<f name="XGR" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_MZYZ" />
|
|
<f name="JGID" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_MZYZ" />
|
|
<f name="PYM" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="WBM" type="12" table="HIS_OPA_MZYZ" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaAnesDao" log="true" type="1" memo="手术麻醉管理主dao">
|
|
<sql>
|
|
select a.PKEY,a.HZPKEY,a.JZPKEY,a.OPAPKEY,a.ASA,a.ASAE,a.TW,a.JSZT,a.HBZ,a.MZQYY,a.MZYS,a.MZZDYS,a.MZHS,a.MZASSISTANT,a.SFJMZS,a.MZGM,a.MZFFSHOW,a.MZSBZ,a.OPAYS,a.OPATIME,a.INOPAROOM,a.INOPAROOMTIME,a.ANESBEGIN,a.ANESBEGINTIME,a.OPABEGIN,a.OPABEGINTIME,a.OPAEND,a.OPAENDTIME,a.ANESEND,a.ANESENDTIME,a.OUTOPAROOM,a.OUTOPAROOMTIME,a.INPACU,a.INPACUTIME,a.OUTPACU,a.OUTPACUTIME,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,b.JBMC,b.JBBM,c.OPAMC,c.OPABM from HIS_OPA_ANES a left join HIS_OPA_ANES_SHZD b on a.JGID=b.JGID and a.pkey=b.ANESPKEY AND b.ismain='1' left join HIS_OPA_ANES_SHOPA c on a.JGID=c.JGID and a.pkey=c.ANESPKEY and c.ismain='1' where a.JGID=? and a.OPAPKEY=?
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ANES" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ANES" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ANES" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ANES" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ANES" />
|
|
<f name="ASA" type="12" table="HIS_OPA_ANES" />
|
|
<f name="ASAE" type="12" table="HIS_OPA_ANES" />
|
|
<f name="TW" type="12" table="HIS_OPA_ANES" />
|
|
<f name="JSZT" type="12" table="HIS_OPA_ANES" />
|
|
<f name="HBZ" type="12" table="HIS_OPA_ANES" />
|
|
<f name="MZQYY" type="12" table="HIS_OPA_ANES" />
|
|
<f name="MZYS" type="12" table="HIS_OPA_ANES" />
|
|
<f name="MZZDYS" type="12" table="HIS_OPA_ANES" />
|
|
<f name="MZHS" type="12" table="HIS_OPA_ANES" />
|
|
<f name="MZASSISTANT" type="12" table="HIS_OPA_ANES" />
|
|
<f name="SFJMZS" type="12" table="HIS_OPA_ANES" />
|
|
<f name="MZGM" type="12" table="HIS_OPA_ANES" />
|
|
<f name="MZFFSHOW" type="12" table="HIS_OPA_ANES" />
|
|
<f name="MZSBZ" type="12" table="HIS_OPA_ANES" />
|
|
<f name="OPAYS" type="12" table="HIS_OPA_ANES" />
|
|
<f name="OPATIME" type="93" table="HIS_OPA_ANES" />
|
|
<f name="INOPAROOM" type="12" table="HIS_OPA_ANES" />
|
|
<f name="INOPAROOMTIME" type="93" table="HIS_OPA_ANES" />
|
|
<f name="ANESBEGIN" type="12" table="HIS_OPA_ANES" />
|
|
<f name="ANESBEGINTIME" type="93" table="HIS_OPA_ANES" />
|
|
<f name="OPABEGIN" type="12" table="HIS_OPA_ANES" />
|
|
<f name="OPABEGINTIME" type="93" table="HIS_OPA_ANES" />
|
|
<f name="OPAEND" type="12" table="HIS_OPA_ANES" />
|
|
<f name="OPAENDTIME" type="93" table="HIS_OPA_ANES" />
|
|
<f name="ANESEND" type="12" table="HIS_OPA_ANES" />
|
|
<f name="ANESENDTIME" type="93" table="HIS_OPA_ANES" />
|
|
<f name="OUTOPAROOM" type="12" table="HIS_OPA_ANES" />
|
|
<f name="OUTOPAROOMTIME" type="93" table="HIS_OPA_ANES" />
|
|
<f name="INPACU" type="12" table="HIS_OPA_ANES" />
|
|
<f name="INPACUTIME" type="93" table="HIS_OPA_ANES" />
|
|
<f name="OUTPACU" type="12" table="HIS_OPA_ANES" />
|
|
<f name="OUTPACUTIME" type="93" table="HIS_OPA_ANES" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ANES" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ANES" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ANES" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ANES" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ANES" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ANES" />
|
|
<f name="JBMC" type="12" />
|
|
<f name="JBBM" type="12" />
|
|
<f name="OPAMC" type="12" />
|
|
<f name="OPABM" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaAnesMzffDao" log="true" type="1" memo="手术麻醉管理的麻醉方法dao">
|
|
<sql>
|
|
select PKEY,HZPKEY,JZPKEY,OPAPKEY,ANESPKEY,MZFF,CGTJ,CGGJ,DGLX,DGXH,ZGSD,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ANES_MZFF where JGID=? and OPAPKEY=? and ANESPKEY=? order by pkey
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ANES_MZFF" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>OPAPKEY</primary>
|
|
<primary>ANESPKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="ANESPKEY" type="12" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="MZFF" type="12" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="CGTJ" type="12" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="CGGJ" type="12" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="DGLX" type="12" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="DGXH" type="12" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="ZGSD" type="12" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ANES_MZFF" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ANES_MZFF" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaAnesShopaDao" log="true" type="1" memo="手术麻醉管理的术后手术dao">
|
|
<sql>
|
|
select PKEY,HZPKEY,JZPKEY,OPAPKEY,ANESPKEY,OPABM,OPAMC,OPAFJ,OPAQKLX,OPAMANKS,OPAYSZ,OPAMAN,OPAONE,OPATWO,OPATHREE,OPAOTHER,OPABZ,ISMAIN,XH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ANES_SHOPA where JGID=? and OPAPKEY=? and ANESPKEY=? order by pkey
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ANES_SHOPA" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>OPAPKEY</primary>
|
|
<primary>ANESPKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="ANESPKEY" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="OPABM" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="OPAMC" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="OPAFJ" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="OPAQKLX" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="OPAMANKS" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="OPAYSZ" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="OPAMAN" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="OPAONE" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="OPATWO" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="OPATHREE" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="OPAOTHER" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="OPABZ" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="ISMAIN" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="XH" type="-5" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ANES_SHOPA" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ANES_SHOPA" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaAnesShzdDao" log="true" type="1" memo="手术麻醉管理的术后诊断dao">
|
|
<sql>
|
|
select PKEY,HZPKEY,JZPKEY,OPAPKEY,ANESPKEY,JBBM,JBMC,XH,ISMAIN,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ANES_SHZD where JGID=? and OPAPKEY=? and ANESPKEY=? order by pkey
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ANES_SHZD" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ANES_SHZD" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ANES_SHZD" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ANES_SHZD" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ANES_SHZD" />
|
|
<f name="ANESPKEY" type="12" table="HIS_OPA_ANES_SHZD" />
|
|
<f name="JBBM" type="12" table="HIS_OPA_ANES_SHZD" />
|
|
<f name="JBMC" type="12" table="HIS_OPA_ANES_SHZD" />
|
|
<f name="XH" type="-5" table="HIS_OPA_ANES_SHZD" />
|
|
<f name="ISMAIN" type="12" table="HIS_OPA_ANES_SHZD" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ANES_SHZD" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ANES_SHZD" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ANES_SHZD" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ANES_SHZD" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ANES_SHZD" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ANES_SHZD" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="opaAnesMzyDao" log="true" type="1" memo="手术麻醉管理的麻醉用药的麻醉药dao">
|
|
<sql>
|
|
select PKEY,HZPKEY,JZPKEY,OPAPKEY,ANESPKEY,YYLX,KSSJ,JSSJ,GYFS,YPPKEY,HISYZMC,GYL,GYLDW,GYSD,GYSDDW,YYTJ,ND,YYBW,JSKS,YYYY,JFBZ,SCYZPKEY,XH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ANES_MZYY where JGID=? and OPAPKEY=? and ANESPKEY=? and YYLX='MZY' order by xh
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ANES_MZYY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>OPAPKEY</primary>
|
|
<primary>ANESPKEY</primary>
|
|
<primary>YYLX</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="ANESPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYLX" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="KSSJ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JSSJ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYFS" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YPPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="HISYZMC" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYL" type="8" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYLDW" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYSD" type="8" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYSDDW" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYTJ" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="ND" type="8" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYBW" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JSKS" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYYY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JFBZ" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="SCYZPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="XH" type="-5" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ANES_MZYY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="opaAnesZlyDao" log="true" type="1" memo="手术麻醉管理的麻醉用药的治疗药dao">
|
|
<sql>
|
|
select PKEY,HZPKEY,JZPKEY,OPAPKEY,ANESPKEY,YYLX,KSSJ,JSSJ,GYFS,YPPKEY,HISYZMC,GYL,GYLDW,GYSD,GYSDDW,YYTJ,ND,YYBW,JSKS,YYYY,JFBZ,SCYZPKEY,XH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ANES_MZYY where JGID=? and OPAPKEY=? and ANESPKEY=? and YYLX='ZLY' order by xh
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ANES_MZYY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>OPAPKEY</primary>
|
|
<primary>ANESPKEY</primary>
|
|
<primary>YYLX</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="ANESPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYLX" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="KSSJ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JSSJ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYFS" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YPPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="HISYZMC" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYL" type="8" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYLDW" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYSD" type="8" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYSDDW" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYTJ" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="ND" type="8" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYBW" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JSKS" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYYY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JFBZ" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="SCYZPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="XH" type="-5" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ANES_MZYY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="opaAnesSyyDao" log="true" type="1" memo="手术麻醉管理的麻醉用药的输液药dao">
|
|
<sql>
|
|
select PKEY,HZPKEY,JZPKEY,OPAPKEY,ANESPKEY,YYLX,KSSJ,JSSJ,GYFS,YPPKEY,HISYZMC,GYL,GYLDW,GYSD,GYSDDW,YYTJ,ND,YYBW,JSKS,YYYY,JFBZ,SCYZPKEY,XH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ANES_MZYY where JGID=? and OPAPKEY=? and ANESPKEY=? and YYLX='SYY' order by xh
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ANES_MZYY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>OPAPKEY</primary>
|
|
<primary>ANESPKEY</primary>
|
|
<primary>YYLX</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="ANESPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYLX" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="KSSJ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JSSJ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYFS" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YPPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="HISYZMC" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYL" type="8" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYLDW" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYSD" type="8" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYSDDW" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYTJ" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="ND" type="8" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYBW" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JSKS" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYYY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JFBZ" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="SCYZPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="XH" type="-5" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ANES_MZYY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="hzOpaOrderDao" log="true" type="1" memo="患者的手术申请单dao">
|
|
<sql>
|
|
|
|
select a.PKEY,a.HZPKEY,a.JZPKEY,a.YZMX,a.JZNO,a.OPAGL,a.SFSF,a.OPASTATE,a.OPAROOM,a.OPATYPE,a.SQKS,a.SQYS,a.HZDH,a.OPADATETIME,a.MZZS,a.MZLYTIME,a.MZBYHCSM,a.SFCFOPA,a.YJSC,a.SFMZ,a.MZPLAN,a.JHTC,a.ZDBZ,a.OPABW,a.OPATW,a.OPAYQ,a.SFGLOPA,a.SFTWXH,a.SFZTXHS,a.SFBX,a.SZBZ,a.XX,a.RH,a.HBSAG,a.HCVAB,a.HIVAB,a.MD,a.QTBZ,a.SFJZ,a.SSJ,a.OPATC,a.OPAPLANTIME,a.SFJB,a.QXHS,a.SFJQX,a.XHHS,a.SFXH,a.QXBZ,a.XHBZ,a.OPAROOMBZ,a.OPAROOMZYSX,a.OPABEGINTIME,a.OPAENDTIME,a.SFINROOMHC,a.INROOMTIME,a.INROOMMAN,a.SFOUTROOMHC,a.OUTROOMTIME,a.OUTROOMMAN,a.MZYS,a.MZZDYS,a.MZHS,a.MZASSISTANT,a.SFJMZS,a.MZGM,a.MZFF,a.MZSBZ,a.SFHZZY,a.YQJHZTIME,a.YQSHZTIME,a.JHZTIME,a.JHZMAN,a.JHZBDTIME,a.RSSJTIME,a.SHZTIME,a.SHZMAN,a.SHZBDTIME,a.CSSJTIME,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,b.pkey yzmxpkey,b.YZZT,b.LOCKFLAG YZMXLOCKFLAG,c.jznl,d.xm,d.xb,e.JBMC,e.JBBM,f.OPAMC,f.OPABM,c.ZYNO,c.JJKS,c.WARD,c.hzlx,c.bed,a.SG,a.TZ from HIS_OPA_ORDER a left join HIS_YZ_MXB b on a.JGID=b.JGID and a.yzmx=b.pkey left join HIS_JZ_BASEINFO c on a.JGID=c.JGID and a.jzpkey=c.pkey left join HIS_HZINFO d on a.JGID=d.JGID and a.hzpkey=d.pkey left join HIS_OPA_ORDER_SQZD e on a.JGID=e.JGID and a.pkey=e.opapkey AND e.ismain='1' left join HIS_OPA_ORDER_PLANOPA f on a.JGID=f.JGID and a.pkey=f.opapkey and f.ismain='1' where a.JGID=? and a.pkey=? order by a.CJRQ
|
|
|
|
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_YZ_MXB" insert="false" update="true" delete="false">
|
|
<primary>YZMXPKEY</primary>
|
|
<primary>YZZT</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
<table name="HIS_OPA_ORDER" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YZMX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JZNO" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAGL" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFSF" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPASTATE" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATYPE" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SQKS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SQYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HZDH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPADATETIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="MZZS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZLYTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="MZBYHCSM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFCFOPA" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YJSC" type="8" table="HIS_OPA_ORDER" />
|
|
<f name="SFMZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZPLAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JHTC" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="ZDBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPABW" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATW" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAYQ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFGLOPA" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFTWXH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFZTXHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFBX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SZBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="RH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HBSAG" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HCVAB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HIVAB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MD" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QTBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SSJ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATC" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="OPAPLANTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SFJB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QXHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJQX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XHHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFXH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QXBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XHBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOMBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOMZYSX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPABEGINTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="OPAENDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SFINROOMHC" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="INROOMTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="INROOMMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFOUTROOMHC" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OUTROOMTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="OUTROOMMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZZDYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZASSISTANT" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJMZS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZGM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZFF" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZSBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFHZZY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YQJHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="YQSHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JHZMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JHZBDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="RSSJTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SHZMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SHZBDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="CSSJTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JGID" type="12" table="HIS_YZ_MXB,HIS_OPA_ORDER" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="YZMXPKEY" type="12" schemaname="PKEY" table="HIS_YZ_MXB" />
|
|
<f name="YZZT" type="12" table="HIS_YZ_MXB" />
|
|
<f name="YZMXLOCKFLAG" type="-5" schemaname="LOCKFLAG" table="HIS_YZ_MXB" />
|
|
<f name="JZNL" type="12" />
|
|
<f name="XM" type="12" />
|
|
<f name="XB" type="12" />
|
|
<f name="JBMC" type="12" />
|
|
<f name="JBBM" type="12" />
|
|
<f name="OPAMC" type="12" />
|
|
<f name="OPABM" type="12" />
|
|
<f name="ZYNO" type="12" />
|
|
<f name="JJKS" type="12" />
|
|
<f name="WARD" type="12" />
|
|
<f name="HZLX" type="12" />
|
|
<f name="BED" type="12" />
|
|
<f name="SG" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="TZ" type="12" table="HIS_OPA_ORDER" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="anesMzyDao" log="true" cache="true" type="1" memo="麻醉管理麻醉药常用医嘱dao">
|
|
<sql>
|
|
select a.PKEY,a.YZBM,a.YZMC,a.HISYZPKEY,a.XMFL,a.SHOWFL,a.YZDW,a.ZDZ,a.ZXZ,a.ZDJXZ,a.ZXJXZ,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,a.PYM,a.WBM from HIS_OPA_MZYZ a left join HIS_OPA_BASE_SMZL b on a.SHOWFL=b.pkey and a.JGID=b.JGID left join HIS_OPA_BASE_SMDL c on b.DLPKEY=c.pkey and b.JGID=c.JGID where a.JGID=? and c.DLBM='MZY' order by a.pkey
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_MZYZ" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="YZBM" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="YZMC" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="HISYZPKEY" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="XMFL" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="SHOWFL" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="YZDW" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="ZDZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="ZXZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="ZDJXZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="ZXJXZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="CJR" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_MZYZ" />
|
|
<f name="XGR" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_MZYZ" />
|
|
<f name="JGID" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_MZYZ" />
|
|
<f name="PYM" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="WBM" type="12" table="HIS_OPA_MZYZ" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
<dao id="anesZlyDao" log="true" cache="true" type="1" memo="麻醉管理治疗药常用医嘱dao">
|
|
<sql>
|
|
select a.PKEY,a.YZBM,a.YZMC,a.HISYZPKEY,a.XMFL,a.SHOWFL,a.YZDW,a.ZDZ,a.ZXZ,a.ZDJXZ,a.ZXJXZ,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,a.PYM,a.WBM from HIS_OPA_MZYZ a left join HIS_OPA_BASE_SMZL b on a.SHOWFL=b.pkey and a.JGID=b.JGID left join HIS_OPA_BASE_SMDL c on b.DLPKEY=c.pkey and b.JGID=c.JGID where a.JGID=? and c.DLBM='ZLY' order by a.pkey
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_MZYZ" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="YZBM" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="YZMC" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="HISYZPKEY" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="XMFL" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="SHOWFL" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="YZDW" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="ZDZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="ZXZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="ZDJXZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="ZXJXZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="CJR" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_MZYZ" />
|
|
<f name="XGR" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_MZYZ" />
|
|
<f name="JGID" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_MZYZ" />
|
|
<f name="PYM" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="WBM" type="12" table="HIS_OPA_MZYZ" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="anesSyyDao" log="true" cache="true" type="1" memo="麻醉管理输液药常用医嘱dao">
|
|
<sql>
|
|
select a.PKEY,a.YZBM,a.YZMC,a.HISYZPKEY,a.XMFL,a.SHOWFL,a.YZDW,a.ZDZ,a.ZXZ,a.ZDJXZ,a.ZXJXZ,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,a.PYM,a.WBM from HIS_OPA_MZYZ a left join HIS_OPA_BASE_SMZL b on a.SHOWFL=b.pkey and a.JGID=b.JGID left join HIS_OPA_BASE_SMDL c on b.DLPKEY=c.pkey and b.JGID=c.JGID where a.JGID=? and c.DLBM='SYY' order by a.pkey
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_MZYZ" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="YZBM" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="YZMC" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="HISYZPKEY" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="XMFL" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="SHOWFL" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="YZDW" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="ZDZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="ZXZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="ZDJXZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="ZXJXZ" type="8" table="HIS_OPA_MZYZ" />
|
|
<f name="CJR" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_MZYZ" />
|
|
<f name="XGR" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_MZYZ" />
|
|
<f name="JGID" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_MZYZ" />
|
|
<f name="PYM" type="12" table="HIS_OPA_MZYZ" />
|
|
<f name="WBM" type="12" table="HIS_OPA_MZYZ" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="getSMOrderCreateNumDao" log="true" type="1" memo="查询手麻医嘱关联有效收费医嘱数量dao">
|
|
<sql>
|
|
select count(*) num from HIS_YZ_MXB where JGID=? and hzpkey=? and jzpkey=? and SMORDERPKEY=? AND (YZZT=0 OR YZZT=1 or YZZT=2 OR YZZT=3)
|
|
</sql>
|
|
<fields>
|
|
<f name="NUM" type="4" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="opaSMOrderDao" log="true" type="1" memo="手术麻醉管理的所有手麻医嘱dao">
|
|
<sql>
|
|
select PKEY,HZPKEY,JZPKEY,OPAPKEY,ANESPKEY,YYLX,KSSJ,JSSJ,GYFS,YPPKEY,HISYZMC,GYL,GYLDW,GYSD,GYSDDW,YYTJ,ND,YYBW,JSKS,YYYY,JFBZ,SCYZPKEY,XH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_OPA_ANES_MZYY where JGID=? and OPAPKEY=? and ANESPKEY=? order by YYLX,xh
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ANES_MZYY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>OPAPKEY</primary>
|
|
<primary>ANESPKEY</primary>
|
|
<primary>YYLX</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="OPAPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="ANESPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYLX" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="KSSJ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JSSJ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYFS" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YPPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="HISYZMC" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYL" type="8" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYLDW" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYSD" type="8" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="GYSDDW" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYTJ" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="ND" type="8" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYBW" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JSKS" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="YYYY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JFBZ" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="SCYZPKEY" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="XH" type="-5" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ANES_MZYY" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ANES_MZYY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="getSMOrderAllInOrderDao" log="true" type="1" memo="查询当前手术申请单所有已经生成计费医嘱的手麻医嘱dao">
|
|
<sql>
|
|
select SMORDERPKEY,pkey from HIS_YZ_MXB where JGID=? and hzpkey=? and jzpkey=? and opapkey=? AND (YZZT=0 OR YZZT=1 or YZZT=2 OR YZZT=3)
|
|
</sql>
|
|
<fields>
|
|
<f name="SMORDERPKEY" type="12" />
|
|
<f name="pkey" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="zyOpaHzJzInfoManageDao" 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,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,a.ISYYGH,a.ISTY,a.ISICU,a.LYFS,a.SYLB,a.YZS,a.SYTC,a.TES,a.WYBZ,a.ZCBZ,a.SYSSLB,a.BFZBZ,a.JHSYFWZH,a.RJSS,a.SYSSRQ,a.RYWARD,a.RYBED,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.hzpkey=? and a.pkey=? and (a.JZLX='Z' or (a.JZLX='J' AND a.SFLG='1')) 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="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="ISYYGH" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="ISTY" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="ISICU" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="LYFS" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="SYLB" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="YZS" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="SYTC" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="TES" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="WYBZ" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="ZCBZ" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="SYSSLB" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="BFZBZ" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="JHSYFWZH" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="RJSS" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="SYSSRQ" type="93" table="HIS_JZ_BASEINFO" />
|
|
<f name="RYWARD" type="12" table="HIS_JZ_BASEINFO" />
|
|
<f name="RYBED" 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>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="opaAllOrderDao" log="true" type="1" memo="已经建立的手术申请单dao">
|
|
<sql>select PKEY,HZPKEY,JZPKEY,YZMX,JZNO,OPAGL,SFSF,OPASTATE,OPAROOM,OPATYPE,SQKS,SQYS,HZDH,OPADATETIME,MZZS,MZLYTIME,MZBYHCSM,SFCFOPA,YJSC,SFMZ,MZPLAN,JHTC,ZDBZ,OPABW,OPATW,OPAYQ,SFGLOPA,SFTWXH,SFZTXHS,SFBX,SZBZ,XX,RH,HBSAG,HCVAB,HIVAB,MD,QTBZ,SFJZ,SSJ,OPATC,OPAPLANTIME,SFJB,QXHS,SFJQX,XHHS,SFXH,QXBZ,XHBZ,OPAROOMBZ,OPAROOMZYSX,OPABEGINTIME,OPAENDTIME,SFINROOMHC,INROOMTIME,INROOMMAN,SFOUTROOMHC,OUTROOMTIME,OUTROOMMAN,MZYS,MZZDYS,MZHS,MZASSISTANT,SFJMZS,MZGM,MZFF,MZSBZ,SFHZZY,YQJHZTIME,YQSHZTIME,JHZTIME,JHZMAN,JHZBDTIME,RSSJTIME,SHZTIME,SHZMAN,SHZBDTIME,CSSJTIME,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG,YZXZSJ,YZZXSJ from HIS_OPA_ORDER where JGID=? and hzpkey=? and jzpkey=? order by OPADATETIME</sql>
|
|
<tables>
|
|
<table name="HIS_OPA_ORDER" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HZPKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JZPKEY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YZMX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JZNO" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAGL" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFSF" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPASTATE" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATYPE" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SQKS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SQYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HZDH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPADATETIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="MZZS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZLYTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="MZBYHCSM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFCFOPA" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YJSC" type="8" table="HIS_OPA_ORDER" />
|
|
<f name="SFMZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZPLAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JHTC" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="ZDBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPABW" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATW" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAYQ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFGLOPA" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFTWXH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFZTXHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFBX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SZBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="RH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HBSAG" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HCVAB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="HIVAB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MD" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QTBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SSJ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPATC" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="OPAPLANTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SFJB" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QXHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJQX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XHHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFXH" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="QXBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XHBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOMBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPAROOMZYSX" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OPABEGINTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="OPAENDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SFINROOMHC" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="INROOMTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="INROOMMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFOUTROOMHC" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="OUTROOMTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="OUTROOMMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZZDYS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZHS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZASSISTANT" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFJMZS" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZGM" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZFF" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="MZSBZ" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SFHZZY" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="YQJHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="YQSHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JHZMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="JHZBDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="RSSJTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SHZTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="SHZMAN" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="SHZBDTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="CSSJTIME" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="CJR" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="CJRQ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="XGR" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="XGRQ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="JGID" type="12" table="HIS_OPA_ORDER" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_OPA_ORDER" />
|
|
<f name="YZXZSJ" type="93" table="HIS_OPA_ORDER" />
|
|
<f name="YZZXSJ" type="93" table="HIS_OPA_ORDER" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
</datasource> |