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.
1359 lines
67 KiB
1359 lines
67 KiB
3 months ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<datasource>
|
||
|
<!-- 1 表示 sql语句dao 2表示存储过程dao 默认为sql语句dao-->
|
||
|
<dao id="xzqhdic" cache="true" type="1" memo="行政区划字典">
|
||
|
<sql>select BM,MC,JB,PYM,WBM,SJBM,BZ,ZT from MAIN_XZQH order by bm</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_XZQH" insert="true" update="true" delete="true">
|
||
|
<primary>BM</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="BM" type="12" table="MAIN_XZQH" />
|
||
|
<f name="MC" type="12" table="MAIN_XZQH" />
|
||
|
<f name="JB" type="12" table="MAIN_XZQH" />
|
||
|
<f name="PYM" type="12" table="MAIN_XZQH" />
|
||
|
<f name="WBM" type="12" table="MAIN_XZQH" />
|
||
|
<f name="SJBM" type="12" table="MAIN_XZQH" />
|
||
|
<f name="BZ" type="12" table="MAIN_XZQH" />
|
||
|
<f name="ZT" type="12" table="MAIN_XZQH" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="xbdao" cache="true" type="1" memo="性别 000003">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='DE02.01.040.00' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="xbcxdao" type="1" cache="true" memo="性别-查询用 000003">
|
||
|
<sql>select BH,MC,PYM,WBM from MAIN_ZDB where ZDZB_BH='DE02.01.040.00' and zt=1
|
||
|
union select '-1','全部','QB','WGUK' from dual</sql>
|
||
|
<fields>
|
||
|
<f name="BH" type="12" />
|
||
|
<f name="MC" type="12" />
|
||
|
<f name="PYM" type="12" />
|
||
|
<f name="WBM" type="12" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="yndao" cache="true" type="1" memo="Y/N 000005">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000005' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="zjlxdic" cache="true" type="1" memo="证件类型000004">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000004' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="zzfxdao" type="1" cache="true" memo="纸张方向 000006">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000006' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="comdao" type="1" cache="true" memo="端口号 000007">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000007' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="sjklxdao" type="1" cache="true" memo="数据库类型 000008">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000008' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="colordao" type="1" cache="true" memo="颜色 000012">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000012' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="hzlxdao" type="1" cache="true" memo="患者类型代码 100008">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100008' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="bblxdao" type="1" cache="true" memo="标本类型 101016">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='101016' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="jgjjlxdao" type="1" cache="true" memo="经济类型代码(标识:DE08.10.011.00,标准:GBT12402.2000 ,值:字典组表[main_zdzb]的bh=100001)">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='GBT12402.2000' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="jgzjlbdao" type="1" cache="true" memo="卫生机构(组织)类别代码(标准:WS 218 ,值:字典组表[main_zdzb]的bh=100002 )">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='WS218.2002' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
|
||
|
<dao id="jgfldao" type="1" cache="true" memo="机构分类管理代码(标识:DE08.10.012.00,标准WS218 ,值:字典组表[main_zdzb]的bh=100003)">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='DE08.10.012.00' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="jglsgxao" type="1" cache="true" memo="单位隶属关系代码(标识:DE08.10.003.00,标准:GBT12404.1997 ,值:字典组表[main_zdzb]的bh=100004)">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='GBT12404.1997' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="jgdcdao" type="1" cache="true" memo="由医疗机构评审委员会评定的等次(CCV2299.03,值:字典组表[main_zdzb]的bh=100005)">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CCV2299.03' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
|
||
|
<dao id="jgjbdao" type="1" cache="true" memo="由卫生行政部门根据设置规划确定的级别(CCV2299.04,值:字典组表[main_zdzb]的bh=100006)">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CCV2299.04' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="sfdao" type="1" cache="true" memo="是否医保定点医疗机构(值:字典组表[main_zdzb]的bh=000001)">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000001' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="jgztdao" type="1" cache="true" memo="当前状态(值:字典组表[main_zdzb]的bh=000002)">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000002' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="ztdao" type="1" cache="true" memo="状态 000002">
|
||
|
<sql>select BH,MC,PYM,WBM from MAIN_ZDB where ZDZB_BH='000002' order by XH asc,BH asc</sql>
|
||
|
<fields>
|
||
|
<f name="BH" type="12" />
|
||
|
<f name="MC" type="12" />
|
||
|
<f name="PYM" type="12" />
|
||
|
<f name="WBM" type="12" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="kslxdao" type="1" cache="true" memo="科室类型 100009">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100009' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="dpGroupDic" type="1" cache="true" memo="科室组字典 100009">
|
||
|
<sql>select DPTGPID,DPTGPCODE,DPTGPNAME,DPTDPTGPRMARK,CJR,CJRQ,XGR,XGRQ,JGID,DPTGPFLAG from MAIN_KSZ where JGID=? and DPTGPFLAG='1'</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_KSZ" insert="false" update="false" delete="false">
|
||
|
<primary>DPTGPID</primary>
|
||
|
<primary>DPTGPCODE</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="DPTGPID" type="12" table="MAIN_KSZ" />
|
||
|
<f name="DPTGPCODE" type="12" table="MAIN_KSZ" />
|
||
|
<f name="DPTGPNAME" type="12" table="MAIN_KSZ" />
|
||
|
<f name="DPTDPTGPRMARK" type="12" table="MAIN_KSZ" />
|
||
|
<f name="CJR" type="12" table="MAIN_KSZ" />
|
||
|
<f name="CJRQ" type="93" table="MAIN_KSZ" />
|
||
|
<f name="XGR" type="12" table="MAIN_KSZ" />
|
||
|
<f name="XGRQ" type="93" table="MAIN_KSZ" />
|
||
|
<f name="JGID" type="12" table="MAIN_KSZ" />
|
||
|
<f name="DPTGPFLAG" type="-5" table="MAIN_KSZ" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
<dao id="dpdicdao" type="1" cache="true" memo="科室表字典">
|
||
|
<sql> select DPTID,DPTCODE,DPTNAME,DPTRMARK,DPTADDR,DPTLAYER,DPTTYPE,DPTGPID,DPTSEX,DPTZJM,DPTBAGE,DPTEAGE,DPTTXMJC,DPTYBCODE,CJR,CJRQ,XGR,XGRQ,JGID,DPTFLAG,SCRQ,SCR,ISMZ,ISJZ,ISZY,ISTJ,DPTYBMC,ITRO,DEPT_RESPER_NAME,DEPT_RESPER_TEL,DEPT_MED_SERV_SCP,DEPT_ESTBDAT,APRV_BED_CNT,HI_CRTF_BED_CNT,DR_PSNCNT,PHAR_PSNCNT,NURS_PSNCNT,TECN_PSNCNT,YBSCFLAG,ISLIS from MAIN_KS where JGID=?</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_KS" insert="false" update="false" delete="false">
|
||
|
<primary>DPTID</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" />
|
||
|
<f name="ISMZ" type="12" table="MAIN_KS" />
|
||
|
<f name="ISJZ" type="12" table="MAIN_KS" />
|
||
|
<f name="ISZY" type="12" table="MAIN_KS" />
|
||
|
<f name="ISTJ" type="12" table="MAIN_KS" />
|
||
|
<f name="DPTYBMC" type="12" table="MAIN_KS" />
|
||
|
<f name="ITRO" type="12" table="MAIN_KS" />
|
||
|
<f name="DEPT_RESPER_NAME" type="12" table="MAIN_KS" />
|
||
|
<f name="DEPT_RESPER_TEL" type="12" table="MAIN_KS" />
|
||
|
<f name="DEPT_MED_SERV_SCP" type="12" table="MAIN_KS" />
|
||
|
<f name="DEPT_ESTBDAT" type="93" table="MAIN_KS" />
|
||
|
<f name="APRV_BED_CNT" type="-5" table="MAIN_KS" />
|
||
|
<f name="HI_CRTF_BED_CNT" type="-5" table="MAIN_KS" />
|
||
|
<f name="DR_PSNCNT" type="-5" table="MAIN_KS" />
|
||
|
<f name="PHAR_PSNCNT" type="-5" table="MAIN_KS" />
|
||
|
<f name="NURS_PSNCNT" type="-5" table="MAIN_KS" />
|
||
|
<f name="TECN_PSNCNT" type="-5" table="MAIN_KS" />
|
||
|
<f name="YBSCFLAG" type="12" table="MAIN_KS" />
|
||
|
<f name="ISLIS" type="12" table="MAIN_KS" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
<dao id="dppopdao" type="1" memo="科室表POP">
|
||
|
<sql>select DPTID,DPTCODE,DPTNAME,DPTRMARK,DPTADDR,DPTLAYER,DPTTYPE,DPTGPID,DPTSEX,DPTZJM,DPTBAGE,DPTEAGE,DPTTXMJC,DPTYBCODE,CJR,CJRQ,XGR,XGRQ,JGID,DPTFLAG from MAIN_KS where JGID=? and DPTFLAG='1' and DPTTYPE like ? and (DPTCODE like ? or DPTNAME like ? or DPTZJM like ?)</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_KS" insert="false" update="false" delete="false">
|
||
|
<primary>DPTID</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" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
<dao id="jgrydicdao" cache="true" type="1" memo="机构人员字典">
|
||
|
<sql>select a.EMPID,b.YBUSERNAME,b.USERACCOUNT,b.NAME,b.SEX,b.PYM,a.YBID,a.YBNAME,b.TITLE from MAIN_JGYH a left join MAIN_YHXX b on a.EMPID=b.EMPID where a.JGID=? and nvl(b.USERACCOUNT,' ') !=' ' and a.EFFICET='0'</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_JGYH" insert="true" update="true" delete="true">
|
||
|
<primary>EMPID</primary>
|
||
|
</table>
|
||
|
<table name="MAIN_YHXX" insert="true" update="true" delete="true">
|
||
|
<primary>EMPID</primary>
|
||
|
<primary>USERACCOUNT</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="EMPID" type="12" table="MAIN_JGYH,MAIN_YHXX" />
|
||
|
<f name="YBUSERNAME" type="12" table="MAIN_YHXX" />
|
||
|
<f name="USERACCOUNT" type="12" table="MAIN_YHXX" />
|
||
|
<f name="NAME" type="12" table="MAIN_YHXX" />
|
||
|
<f name="SEX" type="12" table="MAIN_YHXX" />
|
||
|
<f name="PYM" type="12" table="MAIN_YHXX" />
|
||
|
<f name="YBID" type="12" table="MAIN_JGYH" />
|
||
|
<f name="YBNAME" type="12" table="MAIN_JGYH" />
|
||
|
<f name="TITLE" type="12" table="MAIN_YHXX" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
<dao id="jgrypopdao" type="1" memo="机构人员pop">
|
||
|
<sql>select b.USERACCOUNT,b.NAME,b.SEX,b.PYM,d.DPTID,d.DPTNAME,b.YBUSERNAME,a.YBID,a.YBNAME from MAIN_JGYH a
|
||
|
left join MAIN_YHXX b on a.EMPID=b.EMPID
|
||
|
left join MAIN_YHGLKS c on a.JGID=c.JGID and a.EMPID=c.EMPID and c.SCBZ='0'
|
||
|
left join MAIN_KS d on c.JGID=d.JGID and c.KSBM=d.DPTID
|
||
|
where a.JGID=? and a.EFFICET='0' and c.KSBM like ? and d.DPTTYPE like ? and (b.USERACCOUNT like ? or b.NAME like ? or b.PYM like ?)</sql>
|
||
|
<fields>
|
||
|
<f name="USERACCOUNT" type="12" />
|
||
|
<f name="NAME" type="12" />
|
||
|
<f name="SEX" type="12" />
|
||
|
<f name="PYM" type="12" />
|
||
|
<f name="DPTID" type="12" />
|
||
|
<f name="DPTNAME" type="12" />
|
||
|
<f name="YBUSERNAME" type="12" />
|
||
|
<f name="YBID" type="12" />
|
||
|
<f name="YBNAME" type="12" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
<dao id="jxdicdao" type="1" cache="true" memo="剂型字典100159,医保标准">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100159' order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="zhdicdao" type="1" cache="true" memo="字号字典">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000013' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="dwdicdao" type="1" cache="true" memo="单位字典">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000014' order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="gzypfldicdao" type="1" cache="true" memo="管制药品分类字典">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000015' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="gwjbdicdao" type="1" cache="true" memo="高危级别字典">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000016' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="jydicdao" type="1" cache="true" memo="甲乙级别字典">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000017' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="yplbdicdao" type="1" cache="true" memo="药品类别字典">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000018' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="cslxdicdao" type="1" cache="true" memo="厂商类型字典">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000019' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="sfgcdicdao" type="1" cache="true" memo="是否勾叉字典">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000020' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="kclzdicdao" type="1" cache="true" memo="药品类型字典">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000021' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="tjztdicdao" type="1" cache="true" memo="调价状态字典">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000023' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="gjdao" type="1" cache="true" memo="国籍 DE02.01.015.00">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='DE02.01.015.00' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="regiondic" type="1" cache="true" memo="行政区划字典">
|
||
|
<sql>SELECT CODE,CNAME FROM MAIN_REGION</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_REGION" insert="true" update="true" delete="true">
|
||
|
<primary>CODE</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="CODE" type="12" table="MAIN_REGION" />
|
||
|
<f name="CNAME" type="12" table="MAIN_REGION" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="mzdic" type="1" cache="true" memo="民族 DE02.01.025.00">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='DE02.01.025.00' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="hyzkdic" type="1" cache="true" memo="婚姻状况RC002">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='RC002' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="hzgxdic" type="1" cache="true" memo="患者与本人关系RC033">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='RC033' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="zylbdic" type="1" cache="true" memo="职业类别代码DE02.01.052.00">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='DE02.01.052.00' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="zyfldic" type="1" cache="true" memo="职业分类与代码RC003">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='RC003' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="jiguandic" type="1" cache="true" memo="籍贯-省、自治区、直辖市表">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='RC036' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="ryqkdic" type="1" cache="true" memo="入院时情况">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='RC004' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="hzmjdic" type="1" cache="true" memo="患者密级100016">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100016' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="hzjbdic" type="1" cache="true" memo="患者级别100017">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100017' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao cache="true" id="zjlxdao" memo="身份证件类别代码表" type="1">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000004' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table delete="true" insert="true" name="MAIN_ZDB" update="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="BH" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="MC" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="PYM" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="WBM" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="VALUE1" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="VALUE2" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="XH" table="MAIN_ZDB" type="-5"/>
|
||
|
<f name="ZT" table="MAIN_ZDB" type="12"/>
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao cache="true" id="educationdao" memo="身份证件类别代码表" type="1">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='DE02.01.041.00' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table delete="true" insert="true" name="MAIN_ZDB" update="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="BH" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="MC" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="PYM" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="WBM" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="VALUE1" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="VALUE2" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="XH" table="MAIN_ZDB" type="-5"/>
|
||
|
<f name="ZT" table="MAIN_ZDB" type="12"/>
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao cache="true" id="zcjbdao" memo="职称代码" type="1">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='DE02.01.049.00' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table delete="true" insert="true" name="MAIN_ZDB" update="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="BH" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="MC" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="PYM" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="WBM" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="VALUE1" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="VALUE2" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="XH" table="MAIN_ZDB" type="-5"/>
|
||
|
<f name="ZT" table="MAIN_ZDB" type="12"/>
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao cache="true" id="specialtydao" memo="所学专业代码" type="1">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='DE02.01.037.00' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table delete="true" insert="true" name="MAIN_ZDB" update="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="BH" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="MC" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="PYM" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="WBM" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="VALUE1" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="VALUE2" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="XH" table="MAIN_ZDB" type="-5"/>
|
||
|
<f name="ZT" table="MAIN_ZDB" type="12"/>
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao cache="true" id="zwdao" memo="医护人员类型" type="1">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='GBT8561.2001' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table delete="true" insert="true" name="MAIN_ZDB" update="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="BH" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="MC" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="PYM" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="WBM" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="VALUE1" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="VALUE2" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="XH" table="MAIN_ZDB" type="-5"/>
|
||
|
<f name="ZT" table="MAIN_ZDB" type="12"/>
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao cache="true" id="ssjbdao" memo="手术级别代码表" type="1">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CV05.10.024' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table delete="true" insert="true" name="MAIN_ZDB" update="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="BH" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="MC" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="PYM" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="WBM" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="VALUE1" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="VALUE2" table="MAIN_ZDB" type="12"/>
|
||
|
<f name="XH" table="MAIN_ZDB" type="-5"/>
|
||
|
<f name="ZT" table="MAIN_ZDB" type="12"/>
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="basyfldao" type="1" cache="true" memo="病案首页分类">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='Z00007' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="jgrynokspopdao" type="1" memo="机构人员不按科室pop">
|
||
|
<sql>select distinct b.USERACCOUNT,b.NAME,b.SEX,b.PYM from MAIN_JGYH a
|
||
|
left join MAIN_YHXX b on a.EMPID=b.EMPID
|
||
|
left join MAIN_YHGLKS c on a.JGID=c.JGID and a.EMPID=c.EMPID and c.SCBZ='0'
|
||
|
left join MAIN_KS d on c.JGID=d.JGID and c.KSBM=d.DPTID
|
||
|
where a.JGID=? and a.EFFICET='0' and c.KSBM like ? and d.DPTTYPE like ? and (b.USERACCOUNT like ? or b.NAME like ? or b.PYM like ?)</sql>
|
||
|
<fields>
|
||
|
<f name="USERACCOUNT" type="12" />
|
||
|
<f name="NAME" type="12" />
|
||
|
<f name="SEX" type="12" />
|
||
|
<f name="PYM" type="12" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
<dao id="dkqlxdao" type="1" cache="true" memo="读卡器类型 000024">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000024' and zt='1' order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="clfldic" type="1" cache="true" memo="卫生材料代码表">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CVA08.50.009' and zt='1' order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="yljgdic" type="1">
|
||
|
<sql>select PKEY,TYSHXYDM,ZZJGBM,JGMC,DEMC,WSJGDM,XZQHDM,ADDR0,ADDR1,ADDR2,ADDR3,ADDR4,MPHM,JJLXDM,WSJGLBDM,JGFLGLDM,JGCLRQ,YZBM,LXDH,JGFZRXM,JGFZRLXDH,DWLSGXDM,YYDJDCDM,YYDJJBDM,SFYBDDYLJG,SJPKEY,LICENCE,ZT,QYJM from MAIN_YLJG order by XZQHDM,SJPKEY </sql>
|
||
|
<tables>
|
||
|
<table delete="true" insert="true" name="MAIN_YLJG" update="true">
|
||
|
<primary>PKEY</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="TYSHXYDM" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="ZZJGBM" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="JGMC" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="DEMC" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="WSJGDM" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="XZQHDM" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="ADDR0" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="ADDR1" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="ADDR2" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="ADDR3" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="ADDR4" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="MPHM" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="JJLXDM" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="WSJGLBDM" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="JGFLGLDM" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="JGCLRQ" table="MAIN_YLJG" type="93"/>
|
||
|
<f name="YZBM" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="LXDH" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="JGFZRXM" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="JGFZRLXDH" table="MAIN_YLJG" type="1"/>
|
||
|
<f name="DWLSGXDM" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="YYDJDCDM" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="YYDJJBDM" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="SFYBDDYLJG" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="SJPKEY" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="LICENCE" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="ZT" table="MAIN_YLJG" type="12"/>
|
||
|
<f name="QYJM" table="MAIN_YLJG" type="12"/>
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="monthdic" type="1" cache="true" memo="月份">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000026' and zt='1' order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="zyzzzhdic" type="1" cache="true" memo="中医治则治法">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000027' and zt='1' order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
<primary>MC</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="syxzbzydic" type="1" cache="true" memo="食源性疾病直报国家平台职业字典表">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000028' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<!-- 药品高危级别000016-->
|
||
|
<dao id="ypxxGWJBDic" cache="true" type="1">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000016' and zt=1 order by XH asc,BH asc</sql>
|
||
|
<tables>
|
||
|
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
|
||
|
<primary>ZDZB_BH</primary>
|
||
|
<primary>BH</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="BH" type="12" table="MAIN_ZDB" />
|
||
|
<f name="MC" type="12" table="MAIN_ZDB" />
|
||
|
<f name="PYM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="WBM" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE1" type="12" table="MAIN_ZDB" />
|
||
|
<f name="VALUE2" type="12" table="MAIN_ZDB" />
|
||
|
<f name="XH" type="-5" table="MAIN_ZDB" />
|
||
|
<f name="ZT" type="12" table="MAIN_ZDB" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
<dao id="ksdic" cache="true" type="1">
|
||
|
<sql>select DPTID,DPTCODE,DPTNAME,DPTRMARK,DPTADDR,DPTLAYER,DPTTYPE,DPTGPID,DPTSEX,DPTZJM,DPTBAGE,DPTEAGE,DPTTXMJC,DPTYBCODE,CJR,CJRQ,XGR,XGRQ,JGID,DPTFLAG from MAIN_KS where JGID=? and DPTFLAG=1 order by DPTCODE</sql>
|
||
|
<tables>
|
||
|
<table delete="true" insert="true" name="MAIN_KS" update="true">
|
||
|
<primary>DPTID</primary>
|
||
|
<primary>DPTCODE</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="DPTID" table="MAIN_KS" type="12"/>
|
||
|
<f name="DPTCODE" table="MAIN_KS" type="12"/>
|
||
|
<f name="DPTNAME" table="MAIN_KS" type="12"/>
|
||
|
<f name="DPTRMARK" table="MAIN_KS" type="12"/>
|
||
|
<f name="DPTADDR" table="MAIN_KS" type="12"/>
|
||
|
<f name="DPTLAYER" table="MAIN_KS" type="12"/>
|
||
|
<f name="DPTTYPE" table="MAIN_KS" type="12"/>
|
||
|
<f name="DPTGPID" table="MAIN_KS" type="12"/>
|
||
|
<f name="DPTSEX" table="MAIN_KS" type="12"/>
|
||
|
<f name="DPTZJM" table="MAIN_KS" type="12"/>
|
||
|
<f name="DPTBAGE" table="MAIN_KS" type="12"/>
|
||
|
<f name="DPTEAGE" table="MAIN_KS" type="12"/>
|
||
|
<f name="DPTTXMJC" table="MAIN_KS" type="12"/>
|
||
|
<f name="DPTYBCODE" table="MAIN_KS" type="12"/>
|
||
|
<f name="CJR" table="MAIN_KS" type="12"/>
|
||
|
<f name="CJRQ" table="MAIN_KS" type="93"/>
|
||
|
<f name="XGR" table="MAIN_KS" type="12"/>
|
||
|
<f name="XGRQ" table="MAIN_KS" type="93"/>
|
||
|
<f name="JGID" table="MAIN_KS" type="12"/>
|
||
|
<f name="DPTFLAG" table="MAIN_KS" type="-5"/>
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
</datasource>
|