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.
819 lines
43 KiB
819 lines
43 KiB
3 months ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<datasource>
|
||
|
<!-- 1 表示 sql语句dao 2表示存储过程dao 默认为sql语句dao-->
|
||
|
|
||
|
<dao id="kjywQxDao" log="true" cache="true" type="1" memo="抗菌药物权限设置dao">
|
||
|
<sql>SELECT PKEY,YHJB,YSZH,JZLX,KJYWJB,YXLX,ISSHQX,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG FROM HIS_KSS_QXWH WHERE JGID=? ORDER BY YSZH desc,YHJB,JZLX,KJYWJB</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_QXWH" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>YHJB</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_QXWH" />
|
||
|
<f name="YHJB" type="12" table="HIS_KSS_QXWH" />
|
||
|
<f name="YSZH" type="12" table="HIS_KSS_QXWH" />
|
||
|
<f name="JZLX" type="12" table="HIS_KSS_QXWH" />
|
||
|
<f name="KJYWJB" type="12" table="HIS_KSS_QXWH" />
|
||
|
<f name="YXLX" type="12" table="HIS_KSS_QXWH" />
|
||
|
<f name="ISSHQX" type="12" table="HIS_KSS_QXWH" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_QXWH" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_QXWH" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_QXWH" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_QXWH" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_QXWH" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_QXWH" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
<dao id="kjywParamsSetupDao" log="true" cache="true" type="1" memo="抗菌药物基础参数设置dao">
|
||
|
<sql>SELECT PKEY,MZQY,ZZQY,ZYQY,ZBJ,TSKJYWZZ,MRHZKS,MRHZYS,ISBKSHZ,SJYZZL,SJYZXPKEY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG FROM HIS_KSS_PARAMS WHERE JGID=?</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_PARAMS" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_PARAMS" />
|
||
|
<f name="MZQY" type="12" table="HIS_KSS_PARAMS" />
|
||
|
<f name="ZZQY" type="12" table="HIS_KSS_PARAMS" />
|
||
|
<f name="ZYQY" type="12" table="HIS_KSS_PARAMS" />
|
||
|
<f name="ZBJ" type="12" table="HIS_KSS_PARAMS" />
|
||
|
<f name="TSKJYWZZ" type="12" table="HIS_KSS_PARAMS" />
|
||
|
<f name="MRHZKS" type="12" table="HIS_KSS_PARAMS" />
|
||
|
<f name="MRHZYS" type="12" table="HIS_KSS_PARAMS" />
|
||
|
<f name="ISBKSHZ" type="12" table="HIS_KSS_PARAMS" />
|
||
|
<f name="SJYZZL" type="12" table="HIS_KSS_PARAMS" />
|
||
|
<f name="SJYZXPKEY" type="12" table="HIS_KSS_PARAMS" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_PARAMS" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_PARAMS" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_PARAMS" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_PARAMS" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_PARAMS" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_PARAMS" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="kjywFlowSetupDao" log="true" cache="true" type="1" memo="抗菌药物流程配置dao">
|
||
|
<sql>select PKEY,LCBM,SFKSYS,SFHZ,SFKSSH,SFZZSH,ZZSHKS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_FLOW where JGID=? order by lcbm</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_FLOW" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_FLOW" />
|
||
|
<f name="LCBM" type="12" table="HIS_KSS_FLOW" />
|
||
|
<f name="SFKSYS" type="12" table="HIS_KSS_FLOW" />
|
||
|
<f name="SFHZ" type="12" table="HIS_KSS_FLOW" />
|
||
|
<f name="SFKSSH" type="12" table="HIS_KSS_FLOW" />
|
||
|
<f name="SFZZSH" type="12" table="HIS_KSS_FLOW" />
|
||
|
<f name="ZZSHKS" type="12" table="HIS_KSS_FLOW" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_FLOW" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_FLOW" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_FLOW" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_FLOW" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_FLOW" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_FLOW" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="kjywBaseDataDao" log="true" cache="true" type="1" memo="抗菌药物基础数据设置dao">
|
||
|
<sql>select PKEY,FJPKEY,TYPE,BM,MC,MEMO,SFJH,TSBZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_BASEDATA where JGID=? and type=? order by pkey</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_BASEDATA" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="FJPKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TYPE" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="BM" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MC" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MEMO" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="SFJH" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TSBZ" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_BASEDATA" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
<dao id="kjywBaseDataSYDLDao" log="true" type="1" memo="抗菌药物基础数据使用大类dao">
|
||
|
<sql>select PKEY,FJPKEY,TYPE,BM,MC,MEMO,SFJH,TSBZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_BASEDATA where JGID=? and type='001' order by pkey</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_BASEDATA" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="FJPKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TYPE" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="BM" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MC" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MEMO" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="SFJH" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TSBZ" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_BASEDATA" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
<dao id="kjywBaseDataSYZLDao" log="true" type="1" memo="抗菌药物使用目的子类dao">
|
||
|
<sql>select PKEY,FJPKEY,TYPE,BM,MC,MEMO,SFJH,TSBZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_BASEDATA where JGID=? and type='002' order by FJPKEY,BM</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_BASEDATA" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="FJPKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TYPE" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="BM" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MC" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MEMO" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="SFJH" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TSBZ" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_BASEDATA" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="kjywBaseDataSYMDDao" log="true" cache="true" type="1" memo="抗菌药物使用目的dao">
|
||
|
<sql>select PKEY,FJPKEY,TYPE,BM,MC,MEMO,SFJH,TSBZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_BASEDATA where JGID=? and type='003' order by pkey</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_BASEDATA" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="FJPKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TYPE" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="BM" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MC" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MEMO" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="SFJH" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TSBZ" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_BASEDATA" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="kjywBaseDataSYZZBDao" log="true" cache="true" type="1" memo="抗菌药物使用指征表dao">
|
||
|
<sql>select PKEY,FJPKEY,TYPE,BM,MC,MEMO,SFJH,TSBZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_BASEDATA where JGID=? and type='004' order by pkey</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_BASEDATA" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="FJPKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TYPE" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="BM" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MC" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MEMO" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="SFJH" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TSBZ" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_BASEDATA" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="kjywBaseDataZBJDao" log="true" type="1" cache="true" memo="抗菌药物致病菌dao">
|
||
|
<sql>select PKEY,FJPKEY,TYPE,BM,MC,MEMO,SFJH,TSBZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_BASEDATA where JGID=? and type='009' order by pkey</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_BASEDATA" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="FJPKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TYPE" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="BM" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MC" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MEMO" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="SFJH" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TSBZ" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_BASEDATA" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
<dao id="kjywBaseDataGRBWDao" log="true" type="1" cache="true" memo="抗菌药物感染部位dao">
|
||
|
<sql>select PKEY,FJPKEY,TYPE,BM,MC,MEMO,SFJH,TSBZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_BASEDATA where JGID=? and type='008' order by pkey</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_BASEDATA" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="FJPKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TYPE" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="BM" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MC" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MEMO" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="SFJH" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TSBZ" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_BASEDATA" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
<dao id="kjywBaseDataYYSJDao" log="true" type="1" cache="true" memo="抗菌药物用药时机dao">
|
||
|
<sql>select PKEY,FJPKEY,TYPE,BM,MC,MEMO,SFJH,TSBZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_BASEDATA where JGID=? and type='007' order by pkey</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_BASEDATA" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="FJPKEY" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TYPE" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="BM" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MC" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="MEMO" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="SFJH" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="TSBZ" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_BASEDATA" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_BASEDATA" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
<dao id="kssSqdDao" log="true" type="1" memo="抗生素申请单dao">
|
||
|
<sql>select PKEY,HZPKEY,JZPKEY,YZXPKEY,YZMX,YPMC,YPJX,YPGZJB,YPDDD,YPWHONET,XZKS,XZYS,YSJB,JZLX,SHLCPKEY,SHLCTEXT,SHSTATE,SHRY,SHRQ,SYMD,YYZZ,GRBW,SYSJ,SFSJ,SFYJ,YJYY,HUIZHENPKEY,SQRQ,ISUSE,KSSQXLX,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_SQD where JGID=? and hzpkey=? and jzpkey=? and PKEY=? order by CJRQ</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_SQD" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YZXPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YZMX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPMC" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPJX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPGZJB" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPDDD" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPWHONET" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XZKS" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XZYS" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YSJB" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="JZLX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHLCPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHLCTEXT" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHSTATE" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHRY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="SYMD" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YYZZ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="GRBW" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SYSJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SFSJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SFYJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YJYY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="HUIZHENPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SQRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="ISUSE" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="KSSQXLX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_SQD" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="kssSqdShlcDao" log="true" type="1" memo="抗生素申请的审核流程dao">
|
||
|
<sql>select PKEY,HZPKEY,JZPKEY,SQDPKEY,LCTYPE,SHZT,ZXZT,ZXKS,ZXYS,HUIZHENPKEY,ISHUIZHEN,ZZSHKS,XH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_SQD_SHLC where JGID=? and hzpkey=? and jzpkey=? and SQDPKEY=? order by xh</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_SQD_SHLC" insert="true" update="true" delete="true">
|
||
|
<primary>JGID</primary>
|
||
|
<primary>PKEY</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="SQDPKEY" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="LCTYPE" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="SHZT" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="ZXZT" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="ZXKS" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="ZXYS" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="HUIZHENPKEY" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="ISHUIZHEN" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="ZZSHKS" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="XH" type="-5" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_SQD_SHLC" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_SQD_SHLC" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="zyhuizhennewSqdDao" log="true" type="1" memo="新增抗生素会诊申请单dao">
|
||
|
<sql>select PKEY,HZPKEY,JZPKEY,KSSSQDPKEY,KSSSQDLCPKEY,SQYS,SQKS,SQSJ,HUIZHENRQ,HUIZHENKS,HUIZHENYS,YSZC,BQZY,HUIZHENYQ,HUIZHENJY,HUIZHENLX,ISKSSYY,HUIZHENSTATE,KSSTYYY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_ZY_HUIZHEN_SQD where JGID=? and hzpkey=? and jzpkey=? and KSSSQDPKEY=? </sql>
|
||
|
<tables>
|
||
|
<table name="HIS_ZY_HUIZHEN_SQD" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="KSSSQDPKEY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="KSSSQDLCPKEY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="SQYS" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="SQKS" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="SQSJ" type="93" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HUIZHENRQ" type="93" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HUIZHENKS" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HUIZHENYS" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="YSZC" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="BQZY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HUIZHENYQ" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HUIZHENJY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HUIZHENLX" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="ISKSSYY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HUIZHENSTATE" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="KSSTYYY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="CJR" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="CJRQ" type="93" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="XGR" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="XGRQ" type="93" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="JGID" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="kssSqdYMJLDao" log="true" type="1" memo="抗生素申请单药敏记录dao">
|
||
|
<sql>select PKEY,KSSSQDPKEY,XJM,KSSM,NYJZ,BB,BGRQ,JYXM,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_YMJL where JGID=? and KSSSQDPKEY=? order by pkey</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_YMJL" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_YMJL" />
|
||
|
<f name="KSSSQDPKEY" type="12" table="HIS_KSS_YMJL" />
|
||
|
<f name="XJM" type="12" table="HIS_KSS_YMJL" />
|
||
|
<f name="KSSM" type="12" table="HIS_KSS_YMJL" />
|
||
|
<f name="NYJZ" type="12" table="HIS_KSS_YMJL" />
|
||
|
<f name="BB" type="12" table="HIS_KSS_YMJL" />
|
||
|
<f name="BGRQ" type="93" table="HIS_KSS_YMJL" />
|
||
|
<f name="JYXM" type="12" table="HIS_KSS_YMJL" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_YMJL" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_YMJL" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_YMJL" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_YMJL" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_YMJL" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_YMJL" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="kssSqdSSJLDao" log="true" type="1" memo="抗生素申请单手术记录dao">
|
||
|
<sql>select PKEY,KSSSQDPKEY,SSBM,SSMC,SSJB,SSQKYHDJ,SSRQ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_SSJL where JGID=? and KSSSQDPKEY=? order by pkey</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_SSJL" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_SSJL" />
|
||
|
<f name="KSSSQDPKEY" type="12" table="HIS_KSS_SSJL" />
|
||
|
<f name="SSBM" type="12" table="HIS_KSS_SSJL" />
|
||
|
<f name="SSMC" type="12" table="HIS_KSS_SSJL" />
|
||
|
<f name="SSJB" type="12" table="HIS_KSS_SSJL" />
|
||
|
<f name="SSQKYHDJ" type="12" table="HIS_KSS_SSJL" />
|
||
|
<f name="SSRQ" type="93" table="HIS_KSS_SSJL" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_SSJL" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_SSJL" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_SSJL" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_SSJL" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_SSJL" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_SSJL" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="kssSqdWaitShManageDao" log="true" type="1" memo="抗生素申请单待审核管理列表dao">
|
||
|
<sql>select PKEY,HZPKEY,JZPKEY,YZXPKEY,YZMX,YPMC,YPJX,YPGZJB,YPDDD,YPWHONET,XZKS,XZYS,YSJB,JZLX,SHLCPKEY,SHLCTEXT,SHSTATE,SHRY,SHRQ,SYMD,YYZZ,GRBW,SYSJ,SFSJ,SFYJ,YJYY,HUIZHENPKEY,SQRQ,ISUSE,KSSQXLX,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_SQD where JGID=? and hzpkey=? and jzpkey=? and ISUSE=0 order by SQRQ</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_SQD" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YZXPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YZMX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPMC" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPJX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPGZJB" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPDDD" type="-5" table="HIS_KSS_SQD" />
|
||
|
<f name="YPWHONET" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XZKS" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XZYS" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YSJB" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="JZLX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHLCPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHLCTEXT" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHSTATE" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHRY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="SYMD" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YYZZ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="GRBW" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SYSJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SFSJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SFYJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YJYY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="HUIZHENPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SQRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="ISUSE" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="KSSQXLX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_SQD" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="kssSqdXSHDao" log="true" type="1" memo="抗生素申请单待审核列表dao">
|
||
|
<sql>
|
||
|
|
||
|
select distinct a.LCTYPE,d.xm,b.PKEY,b.HZPKEY,b.JZPKEY,b.YZXPKEY,b.YZMX,b.YPMC,b.YPJX,b.YPGZJB,b.YPDDD,b.YPWHONET,b.XZKS,b.XZYS,b.YSJB,b.JZLX,b.SHLCPKEY,b.SHLCTEXT,b.SHSTATE,b.SHRY,b.SHRQ,b.SYMD,b.YYZZ,b.GRBW,b.SYSJ,b.SFSJ,b.SFYJ,b.YJYY,b.HUIZHENPKEY,b.SQRQ,b.ISUSE,b.KSSQXLX,b.CJR,b.CJRQ,b.XGR,b.XGRQ,b.JGID,b.LOCKFLAG from HIS_KSS_SQD_SHLC a left join HIS_KSS_SQD b on a.SQDPKEY=b.pkey and a.JGID=b.JGID left join HIS_KSS_QXWH c on b.YPGZJB=c.KJYWJB and b.JGID=c.JGID left join HIS_HZINFO d on b.HZPKEY=d.pkey and b.JGID=d.JGID where a.JGID=? and a.zxzt=2 and ((c.yhjb=? and c.ISSHQX=1) or (c.YSZH=? and c.ISSHQX=1)) and c.JZLX=b.JZLX order by b.SQRQ
|
||
|
|
||
|
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_SQD" insert="true" update="true" delete="true">
|
||
|
<primary>JGID</primary>
|
||
|
<primary>PKEY</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="LCTYPE" type="12"/>
|
||
|
<f name="XM" type="12"/>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YZXPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YZMX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPMC" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPJX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPGZJB" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPDDD" type="-5" table="HIS_KSS_SQD" />
|
||
|
<f name="YPWHONET" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XZKS" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XZYS" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YSJB" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="JZLX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHLCPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHLCTEXT" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHSTATE" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHRY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="SYMD" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YYZZ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="GRBW" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SYSJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SFSJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SFYJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YJYY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="HUIZHENPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SQRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="ISUSE" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="KSSQXLX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_SQD" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="kssSqdYSHDao" log="true" type="1" memo="抗生素申请单已审核列表dao">
|
||
|
<sql>select distinct a.LCTYPE,d.xm,b.PKEY,b.HZPKEY,b.JZPKEY,b.YZXPKEY,b.YZMX,b.YPMC,b.YPJX,b.YPGZJB,b.YPDDD,b.YPWHONET,b.XZKS,b.XZYS,b.YSJB,b.JZLX,b.SHLCPKEY,b.SHLCTEXT,b.SHSTATE,b.SHRY,b.SHRQ,b.SYMD,b.YYZZ,b.GRBW,b.SYSJ,b.SFSJ,b.SFYJ,b.YJYY,b.HUIZHENPKEY,b.SQRQ,b.ISUSE,b.KSSQXLX,b.CJR,b.CJRQ,b.XGR,b.XGRQ,b.JGID,b.LOCKFLAG from HIS_KSS_SQD_SHLC a left join HIS_KSS_SQD b on a.SQDPKEY=b.pkey and a.JGID=b.JGID left join HIS_KSS_QXWH c on b.YPGZJB=c.KJYWJB and b.JGID=c.JGID left join HIS_HZINFO d on b.HZPKEY=d.pkey and b.JGID=d.JGID where a.JGID=? and a.ZXYS=? order by b.SQRQ</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_SQD" insert="true" update="true" delete="true">
|
||
|
<primary>JGID</primary>
|
||
|
<primary>PKEY</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="LCTYPE" type="12"/>
|
||
|
<f name="XM" type="12"/>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YZXPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YZMX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPMC" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPJX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPGZJB" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPDDD" type="-5" table="HIS_KSS_SQD" />
|
||
|
<f name="YPWHONET" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XZKS" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XZYS" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YSJB" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="JZLX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHLCPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHLCTEXT" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHSTATE" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHRY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="SYMD" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YYZZ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="GRBW" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SYSJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SFSJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SFYJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YJYY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="HUIZHENPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SQRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="ISUSE" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="KSSQXLX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_SQD" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="huizhenSqdProcessDao" log="true" type="1" memo="会诊申请单处理dao">
|
||
|
<sql>select '' content,a.PKEY,a.HZPKEY,a.JZPKEY,a.KSSSQDPKEY,a.KSSSQDLCPKEY,a.SQYS,a.SQKS,a.SQSJ,a.HUIZHENRQ,a.HUIZHENKS,a.HUIZHENYS,a.YSZC,a.BQZY,a.HUIZHENYQ,a.HUIZHENJY,a.HUIZHENLX,a.ISKSSYY,a.HUIZHENSTATE,a.KSSTYYY,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,b.xm,b.xb,c.HZLX,c.JZNL,c.JZNO,c.ZYNO from HIS_ZY_HUIZHEN_SQD a left join HIS_HZINFO b on a.hzpkey=b.pkey and a.JGID=b.JGID left join HIS_JZ_BASEINFO c on a.jzpkey=c.pkey and a.JGID=c.JGID where a.JGID=? and a.HUIZHENYS=? and a.HUIZHENSTATE=? order by a.HUIZHENRQ desc</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_ZY_HUIZHEN_SQD" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="CONTENT" type="12" />
|
||
|
<f name="PKEY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="KSSSQDPKEY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="KSSSQDLCPKEY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="SQYS" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="SQKS" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="SQSJ" type="93" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HUIZHENRQ" type="93" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HUIZHENKS" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HUIZHENYS" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="YSZC" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="BQZY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HUIZHENYQ" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HUIZHENJY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HUIZHENLX" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="ISKSSYY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="HUIZHENSTATE" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="KSSTYYY" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="CJR" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="CJRQ" type="93" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="XGR" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="XGRQ" type="93" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="JGID" type="12" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_ZY_HUIZHEN_SQD" />
|
||
|
<f name="xm" type="12" />
|
||
|
<f name="xb" type="12" />
|
||
|
<f name="HZLX" type="12" />
|
||
|
<f name="JZNL" type="12" />
|
||
|
<f name="JZNO" type="12" />
|
||
|
<f name="ZYNO" type="12" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
<dao id="kssSqdBySqdPkeyDao" log="true" type="1" memo="通过主键获取抗生素申请单dao">
|
||
|
<sql>select PKEY,HZPKEY,JZPKEY,YZXPKEY,YZMX,YPMC,YPJX,YPGZJB,YPDDD,YPWHONET,XZKS,XZYS,YSJB,JZLX,SHLCPKEY,SHLCTEXT,SHSTATE,SHRY,SHRQ,SYMD,YYZZ,GRBW,SYSJ,SFSJ,SFYJ,YJYY,HUIZHENPKEY,SQRQ,ISUSE,KSSQXLX,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_KSS_SQD where JGID=? and PKEY=? order by SQRQ</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_KSS_SQD" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YZXPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YZMX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPMC" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPJX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPGZJB" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YPDDD" type="-5" table="HIS_KSS_SQD" />
|
||
|
<f name="YPWHONET" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XZKS" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XZYS" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YSJB" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="JZLX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHLCPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHLCTEXT" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHSTATE" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHRY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SHRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="SYMD" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YYZZ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="GRBW" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SYSJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SFSJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SFYJ" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="YJYY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="HUIZHENPKEY" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="SQRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="ISUSE" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="KSSQXLX" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="CJR" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="CJRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="XGR" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="XGRQ" type="93" table="HIS_KSS_SQD" />
|
||
|
<f name="JGID" type="12" table="HIS_KSS_SQD" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_KSS_SQD" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
</datasource>
|