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.
143 lines
5.6 KiB
143 lines
5.6 KiB
3 months ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<datasource>
|
||
|
<!-- 1 表示 sql语句dao 2表示存储过程dao 默认为sql语句dao-->
|
||
|
|
||
|
<dao id="ALSourceDao" log="true" type="1" memo="过敏源dao">
|
||
|
<sql>SELECT PKEY,BM,MC,GMYFL,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG,PYM,WBM FROM HIS_AL_GMY WHERE JGID=? ORDER BY CJRQ</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_AL_GMY" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_AL_GMY" />
|
||
|
<f name="BM" type="12" table="HIS_AL_GMY" />
|
||
|
<f name="MC" type="12" table="HIS_AL_GMY" />
|
||
|
<f name="GMYFL" type="12" table="HIS_AL_GMY" />
|
||
|
<f name="CJR" type="12" table="HIS_AL_GMY" />
|
||
|
<f name="CJRQ" type="93" table="HIS_AL_GMY" />
|
||
|
<f name="XGR" type="12" table="HIS_AL_GMY" />
|
||
|
<f name="XGRQ" type="93" table="HIS_AL_GMY" />
|
||
|
<f name="JGID" type="12" table="HIS_AL_GMY" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_AL_GMY" />
|
||
|
<f name="PYM" type="12" table="HIS_AL_GMY" />
|
||
|
<f name="WBM" type="12" table="HIS_AL_GMY" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="ALHzGmJLDao" log="true" cache="true" type="1" memo="患者过敏记录dao">
|
||
|
<sql>SELECT PKEY,HZPKEY,GMYFL,GMY,GMXM,GMBC,JCZT,FZRQ,GMLX,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG FROM HIS_AL_GMJL WHERE JGID=? AND HZPKEY=? ORDER BY CJRQ</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_AL_GMJL" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_AL_GMJL" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_AL_GMJL" />
|
||
|
<f name="GMYFL" type="12" table="HIS_AL_GMJL" />
|
||
|
<f name="GMY" type="12" table="HIS_AL_GMJL" />
|
||
|
<f name="GMXM" type="12" table="HIS_AL_GMJL" />
|
||
|
<f name="GMBC" type="12" table="HIS_AL_GMJL" />
|
||
|
<f name="JCZT" type="12" table="HIS_AL_GMJL" />
|
||
|
<f name="FZRQ" type="93" table="HIS_AL_GMJL" />
|
||
|
<f name="GMLX" type="12" table="HIS_AL_GMJL" />
|
||
|
<f name="CJR" type="12" table="HIS_AL_GMJL" />
|
||
|
<f name="CJRQ" type="93" table="HIS_AL_GMJL" />
|
||
|
<f name="XGR" type="12" table="HIS_AL_GMJL" />
|
||
|
<f name="XGRQ" type="93" table="HIS_AL_GMJL" />
|
||
|
<f name="JGID" type="12" table="HIS_AL_GMJL" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_AL_GMJL" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="yzxALSourceDao" log="true" type="1" memo="医嘱项关联过敏源dao">
|
||
|
<sql>SELECT PKEY,YZXPKEY,GMY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG FROM HIS_YZX_ALSOURCE WHERE JGID=? and yzxpkey=? order by pkey</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YZX_ALSOURCE" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_YZX_ALSOURCE" />
|
||
|
<f name="YZXPKEY" type="12" table="HIS_YZX_ALSOURCE" />
|
||
|
<f name="GMY" type="12" table="HIS_YZX_ALSOURCE" />
|
||
|
<f name="CJR" type="12" table="HIS_YZX_ALSOURCE" />
|
||
|
<f name="CJRQ" type="93" table="HIS_YZX_ALSOURCE" />
|
||
|
<f name="XGR" type="12" table="HIS_YZX_ALSOURCE" />
|
||
|
<f name="XGRQ" type="93" table="HIS_YZX_ALSOURCE" />
|
||
|
<f name="JGID" type="12" table="HIS_YZX_ALSOURCE" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_YZX_ALSOURCE" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="yzxgmydao" cache="true" log="true" type="1" memo="医嘱项过敏源dao">
|
||
|
<sql>select yzxpkey,YZXPKEY||GMY yzxgmy from HIS_YZX_ALSOURCE where JGID=?</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YZX_ALSOURCE" insert="false" update="false" delete="false">
|
||
|
<primary>YZXPKEY</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="YZXPKEY" type="12" table="HIS_YZX_ALSOURCE" />
|
||
|
<f name="YZXGMY" type="12" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="YpxxTymDic" cache="true" log="true" type="1" memo="药品信息通用名字典">
|
||
|
<sql>select BM,TYM from HIS_YPXX </sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YPXX" insert="false" update="false" delete="false">
|
||
|
<primary>BM</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="BM" type="12" table="HIS_YPXX" />
|
||
|
<f name="TYM" type="12" table="HIS_YPXX" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="ypyxflDIC" cache="true" log="true" type="1" memo="药品药学分类字典">
|
||
|
<sql>select YPCF_BM,YXFL_BM from HIS_YP_YXFL </sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YP_YXFL" insert="false" update="false" delete="false">
|
||
|
<primary>YPCF_BM</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="YPCF_BM" type="12" table="HIS_YP_YXFL" />
|
||
|
<f name="YXFL_BM" type="12" table="HIS_YP_YXFL" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
</datasource>
|