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.
264 lines
12 KiB
264 lines
12 KiB
3 months ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<datasource>
|
||
|
<!-- 1 表示 sql语句dao 2表示存储过程dao 默认为sql语句dao-->
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="mzSyqSetupDao" log="true" type="1" memo="门诊输液区设置dao">
|
||
|
<sql>
|
||
|
select PKEY,SYQBM,SYQMC,SYQMS,SYQDZ,SYQLC,SYQZJM,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_MZ_SYQ where JGID=? order by SYQBM
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_MZ_SYQ" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_MZ_SYQ" />
|
||
|
<f name="SYQBM" type="12" table="HIS_MZ_SYQ" />
|
||
|
<f name="SYQMC" type="12" table="HIS_MZ_SYQ" />
|
||
|
<f name="SYQMS" type="12" table="HIS_MZ_SYQ" />
|
||
|
<f name="SYQDZ" type="12" table="HIS_MZ_SYQ" />
|
||
|
<f name="SYQLC" type="12" table="HIS_MZ_SYQ" />
|
||
|
<f name="SYQZJM" type="12" table="HIS_MZ_SYQ" />
|
||
|
<f name="CJR" type="12" table="HIS_MZ_SYQ" />
|
||
|
<f name="CJRQ" type="93" table="HIS_MZ_SYQ" />
|
||
|
<f name="XGR" type="12" table="HIS_MZ_SYQ" />
|
||
|
<f name="XGRQ" type="93" table="HIS_MZ_SYQ" />
|
||
|
<f name="JGID" type="12" table="HIS_MZ_SYQ" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_MZ_SYQ" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="mzSyqGlKsSetupDao" log="true" type="1" memo="门诊输液区关联科室设置dao">
|
||
|
<sql>
|
||
|
select PKEY,SYQPKEY,KSPKEY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_MZ_SYQGLKS where JGID=? and SYQPKEY=? order by pkey
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_MZ_SYQGLKS" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_MZ_SYQGLKS" />
|
||
|
<f name="SYQPKEY" type="12" table="HIS_MZ_SYQGLKS" />
|
||
|
<f name="KSPKEY" type="12" table="HIS_MZ_SYQGLKS" />
|
||
|
<f name="CJR" type="12" table="HIS_MZ_SYQGLKS" />
|
||
|
<f name="CJRQ" type="93" table="HIS_MZ_SYQGLKS" />
|
||
|
<f name="XGR" type="12" table="HIS_MZ_SYQGLKS" />
|
||
|
<f name="XGRQ" type="93" table="HIS_MZ_SYQGLKS" />
|
||
|
<f name="JGID" type="12" table="HIS_MZ_SYQGLKS" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_MZ_SYQGLKS" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="mzSyqzwSetupDao" log="true" type="1" memo="门诊输液区座位的设置dao">
|
||
|
<sql>
|
||
|
select PKEY,BM,MC,SYQPKEY,SFJH,XH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_MZ_SYQZW where JGID=? and SYQPKEY=? order by bm
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_MZ_SYQZW" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_MZ_SYQZW" />
|
||
|
<f name="BM" type="12" table="HIS_MZ_SYQZW" />
|
||
|
<f name="MC" type="12" table="HIS_MZ_SYQZW" />
|
||
|
<f name="SYQPKEY" type="12" table="HIS_MZ_SYQZW" />
|
||
|
<f name="SFJH" type="12" table="HIS_MZ_SYQZW" />
|
||
|
<f name="XH" type="-5" table="HIS_MZ_SYQZW" />
|
||
|
<f name="CJR" type="12" table="HIS_MZ_SYQZW" />
|
||
|
<f name="CJRQ" type="93" table="HIS_MZ_SYQZW" />
|
||
|
<f name="XGR" type="12" table="HIS_MZ_SYQZW" />
|
||
|
<f name="XGRQ" type="93" table="HIS_MZ_SYQZW" />
|
||
|
<f name="JGID" type="12" table="HIS_MZ_SYQZW" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_MZ_SYQZW" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="mzSyqGlHsSetupDao" log="true" type="1" memo="门诊输液区关联护士设置dao">
|
||
|
<sql>
|
||
|
select PKEY,SYQPKEY,HSPKEY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_MZ_SYQGLHS where JGID=? and SYQPKEY=? order by pkey
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_MZ_SYQGLHS" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="SYQPKEY" type="12" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="HSPKEY" type="12" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="CJR" type="12" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="CJRQ" type="93" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="XGR" type="12" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="XGRQ" type="93" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="JGID" type="12" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_MZ_SYQGLHS" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="mzsyHsGlSyqDao" log="true" type="1" memo="护士根据科室关联输液区dao">
|
||
|
<sql>
|
||
|
select a.PKEY,a.SYQPKEY,a.HSPKEY,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG ,b.SYQBM,b.SYQMC,b.SYQMS,b.SYQDZ,b.SYQLC,b.SYQZJM from HIS_MZ_SYQGLHS a left join HIS_MZ_SYQ b on a.JGID=b.JGID and a.SYQPKEY=b.pkey left join HIS_MZ_SYQGLKS c on c.JGID=b.JGID and c.SYQPKEY=b.pkey left join MAIN_KS d on d.DPTID=c.KSPKEY and d.JGID=c.JGID where a.JGID=? and a.hspkey=? and c.KSPKEY=? order by b.SYQBM
|
||
|
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_MZ_SYQGLHS" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="SYQPKEY" type="12" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="HSPKEY" type="12" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="CJR" type="12" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="CJRQ" type="93" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="XGR" type="12" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="XGRQ" type="93" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="JGID" type="12" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_MZ_SYQGLHS" />
|
||
|
<f name="SYQBM" type="12" />
|
||
|
<f name="SYQMC" type="12" />
|
||
|
<f name="SYQMS" type="12" />
|
||
|
<f name="SYQDZ" type="12" />
|
||
|
<f name="SYQLC" type="12" />
|
||
|
<f name="SYQZJM" type="12" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="mzSyZxjlDao" log="true" type="1" memo="门诊输液执行记录dao">
|
||
|
<sql>
|
||
|
select PKEY,HZPKEY,JZPKEY,ZXBS,SYZT,SYRQ,PYR,ZXR,PYTIME,ZXTIME,DS,DXS,SYRL,YJSYSJ,SYQPKEY,SYQZWPKEY,SYNR,YFTJ,PC,ZSYCS,TX,YZXZYS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_MZ_SYZX where JGID=? and hzpkey=? and jzpkey=? order by TX
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_MZ_SYZX" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>ZXBS</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="HZPKEY" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="JZPKEY" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="ZXBS" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="SYZT" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="SYRQ" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="PYR" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="ZXR" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="PYTIME" type="93" table="HIS_MZ_SYZX " />
|
||
|
<f name="ZXTIME" type="93" table="HIS_MZ_SYZX " />
|
||
|
<f name="DS" type="-5" table="HIS_MZ_SYZX " />
|
||
|
<f name="DXS" type="-5" table="HIS_MZ_SYZX " />
|
||
|
<f name="SYRL" type="-5" table="HIS_MZ_SYZX " />
|
||
|
<f name="YJSYSJ" type="-5" table="HIS_MZ_SYZX " />
|
||
|
<f name="SYQPKEY" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="SYQZWPKEY" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="SYNR" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="YFTJ" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="PC" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="ZSYCS" type="-5" table="HIS_MZ_SYZX " />
|
||
|
<f name="TX" type="-5" table="HIS_MZ_SYZX " />
|
||
|
<f name="YZXZYS" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="CJR" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="CJRQ" type="93" table="HIS_MZ_SYZX " />
|
||
|
<f name="XGR" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="XGRQ" type="93" table="HIS_MZ_SYZX " />
|
||
|
<f name="JGID" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_MZ_SYZX " />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
<dao id="mzSyZxjlByTxDao" log="true" type="1" memo="门诊输液每一个贴序的执行记录dao">
|
||
|
<sql>
|
||
|
select PKEY,HZPKEY,JZPKEY,ZXBS,SYZT,SYRQ,PYR,ZXR,PYTIME,ZXTIME,DS,DXS,SYRL,YJSYSJ,SYQPKEY,SYQZWPKEY,SYNR,YFTJ,PC,ZSYCS,TX,YZXZYS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_MZ_SYZX where JGID=? and hzpkey=? and jzpkey=? and ZXBS=? order by TX
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_MZ_SYZX" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>ZXBS</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="HZPKEY" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="JZPKEY" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="ZXBS" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="SYZT" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="SYRQ" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="PYR" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="ZXR" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="PYTIME" type="93" table="HIS_MZ_SYZX " />
|
||
|
<f name="ZXTIME" type="93" table="HIS_MZ_SYZX " />
|
||
|
<f name="DS" type="-5" table="HIS_MZ_SYZX " />
|
||
|
<f name="DXS" type="-5" table="HIS_MZ_SYZX " />
|
||
|
<f name="SYRL" type="-5" table="HIS_MZ_SYZX " />
|
||
|
<f name="YJSYSJ" type="-5" table="HIS_MZ_SYZX " />
|
||
|
<f name="SYQPKEY" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="SYQZWPKEY" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="SYNR" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="YFTJ" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="PC" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="ZSYCS" type="-5" table="HIS_MZ_SYZX " />
|
||
|
<f name="TX" type="-5" table="HIS_MZ_SYZX " />
|
||
|
<f name="YZXZYS" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="CJR" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="CJRQ" type="93" table="HIS_MZ_SYZX " />
|
||
|
<f name="XGR" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="XGRQ" type="93" table="HIS_MZ_SYZX " />
|
||
|
<f name="JGID" type="12" table="HIS_MZ_SYZX " />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_MZ_SYZX " />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
</datasource>
|