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.
685 lines
36 KiB
685 lines
36 KiB
3 months ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<datasource>
|
||
|
<!-- 1 表示 sql语句dao 2表示存储过程dao 默认为sql语句dao-->
|
||
|
|
||
|
|
||
|
<dao id="dshMzshcfDao" log="true" type="1" memo="待审核门诊药品处方">
|
||
|
<sql><![CDATA[
|
||
|
select e.PKEY,e.SHCFH,e.HLYY,e.SHZT,e.LOCKFLAG,a.HZPKEY,a.JZPKEY,a.CFH,c.jzno,d.xm,d.xb,c.jznl,d.hzlx,b.SG,b.TZ,c.jjrq,a.yzzxks,c.JZZDNAMELIST,c.JZZDBMLIST,a.jgid,a.YZXZYS,a.YZXZKS from HIS_YZ_MXB a left join HIS_JZ_MZBL b on a.jzpkey=b.jzpkey and a.jgid=b.jgid left join HIS_JZ_BASEINFO c on a.jzpkey=c.pkey and a.jgid=c.jgid left join HIS_HZINFO d on a.hzpkey=d.pkey and a.jgid=d.jgid left join HIS_YFFY_SHCF e on a.jzpkey=e.jzpkey and a.jgid=e.jgid and a.cfh=e.SHCFH where a.jgid=? and a.YZSHZT=1 and a.SFQYSHCF='1' and (a.YZLB='01' or a.YZLB='02' or a.YZLB='03') and (a.SHCFZT ='0' or a.SHCFZT ='3' ) and c.jjrq >=? and c.jjrq <=? group by a.HZPKEY,a.JZPKEY,a.CFH,c.jzno,d.xm,d.xb,c.jznl,d.hzlx,a.cfh,b.SG,b.TZ,c.jjrq,a.yzzxks,c.JZZDNAMELIST,c.JZZDBMLIST,e.PKEY,e.SHCFH,e.HLYY,e.SHZT,a.jgid,e.LOCKFLAG,a.YZXZYS,a.YZXZKS order by c.jjrq
|
||
|
|
||
|
]]></sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YFFY_SHCF" insert="false" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>jgid</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHCFH" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="HLYY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHZT" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_YFFY_SHCF" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="CFH" type="12" />
|
||
|
<f name="JZNO" type="12" />
|
||
|
<f name="XM" type="12" />
|
||
|
<f name="XB" type="12" />
|
||
|
<f name="JZNL" type="12" />
|
||
|
<f name="HZLX" type="12" />
|
||
|
<f name="SG" type="12" />
|
||
|
<f name="TZ" type="12" />
|
||
|
<f name="JJRQ" type="93" />
|
||
|
<f name="YZZXKS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="JZZDNAMELIST" type="12" />
|
||
|
<f name="JZZDBMLIST" type="12" />
|
||
|
<f name="JGID" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="YZXZYS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="YZXZKS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>93</p>
|
||
|
<p>93</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="shcfYzYpmxDao" log="true" type="1">
|
||
|
<sql>
|
||
|
select a.PKEY,a.HZPKEY,a.JZPKEY,a.JZH,a.CFH,a.YZCL,a.YZLB,a.YZLX,a.YZXPKEY,a.YZSHZT,a.YZJL,a.YZJLDW,a.YZPC,a.YZTS,a.YZYF,a.YZZCYYF,a.YZZCYYFMS,a.YZTZH,a.YZXZSJ,a.YZXZYS,a.YZLRYS,a.YZJE,a.YZSL,a.YZJX,a.YZBEGINJDSJ,a.YZENDJDSJ,a.YZBEGINZXSJ,a.YZZXSJ,a.YZYTZSJ,a.YZTZSJ,a.YZDJ,a.YZBEGINJDHS,a.YZENDJDHS,a.YZTZYS,a.YZZT,a.YZFYLB,a.YZDAYCS,a.YZJDBZ,a.YZYX,a.YZZDY,a.YZXZSXYS,a.YZTZSXYS,a.ZYCS,a.YZXZRLX,a.YZCXR,a.YZCXBZ,a.YZCXSJ,a.YZCXYY,a.YZFYZH,a.YZSFZYZ,a.YZSCZXCS,a.YZZTPKEY,a.YZDS,a.YZJJBZ,a.CJR,a.CJRQ,a.jgid,a.YZLC,a.YZGLYZ,a.YZSYCS,a.YZZXKS,a.YZKZXTS,a.PS,a.PSBZ,a.YZFJSM,a.YZFB,a.YZSYLS,a.YZLSDW,a.YZSFPY,a.YZCLTM,a.YZCLYY,a.YZBZ,a.YZBBLX,a.YZDW,a.YZXZKS,a.YZZL,a.YZJZJLXS,a.YZJZZHXS,a.YPYZJBJG,a.YPYZJBDW,a.YPYZBZJG,a.YPYZBZDW,a.YPYZDXDW,a.YPYZDXSL,a.YPYZZHXS,a.YZMC,a.YZSFZT,a.YZTFSL,a.YZDJSL,a.YZYL,a.YZZCYFSKEY,a.YZZCYFS,a.YZZCYJX,a.YZZCYDJF,a.ISDJJS,a.DJJSSL,a.ISZCYDJCL,a.IZZCYDJFJF,a.ISGFFJ,a.YZZCYBZ,a.SQDTYPE,a.SQDPKEY,a.SQDJSPKEY,a.SQDTFJE,a.ZYYZFL,a.YZSHYS,a.YZSHRQ,a.ISZPC,a.YZZPC,a.YZPCFFSJ,a.YZXH,a.PSJG,a.ZCYGLCZLX,a.YZZFR,a.YZZFSJ,a.YZZFYY,a.PSJGSJ,a.PSJGR,b.ISGJJBYW,b.JX,b.CSXX,a.SFQYSHCF,a.SHCFZT from HIS_YZ_MXB a left join HIS_YPXX b on a.YZXPKEY=b.BM where a.jgid=? and a.HZPKEY=? and a.JZPKEY=? and a.cfh=? and (a.YZLB='01' OR a.YZLB='02' OR a.YZLB='03') order by a.cfh,a.yzxh
|
||
|
|
||
|
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YZ_MXB" insert="false" update="true" delete="false">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>HZPKEY</primary>
|
||
|
<primary>JZPKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="JZH" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="CFH" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZCL" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZLB" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZLX" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZXPKEY" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZSHZT" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZJL" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZJLDW" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZPC" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZTS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZYF" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZCYYF" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZCYYFMS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZTZH" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZXZSJ" type="93" table="HIS_YZ_MXB" />
|
||
|
<f name="YZXZYS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZLRYS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZJE" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZSL" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZJX" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZBEGINJDSJ" type="93" table="HIS_YZ_MXB" />
|
||
|
<f name="YZENDJDSJ" type="93" table="HIS_YZ_MXB" />
|
||
|
<f name="YZBEGINZXSJ" type="93" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZXSJ" type="93" table="HIS_YZ_MXB" />
|
||
|
<f name="YZYTZSJ" type="93" table="HIS_YZ_MXB" />
|
||
|
<f name="YZTZSJ" type="93" table="HIS_YZ_MXB" />
|
||
|
<f name="YZDJ" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZBEGINJDHS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZENDJDHS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZTZYS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZT" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZFYLB" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZDAYCS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZJDBZ" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZYX" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZDY" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZXZSXYS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZTZSXYS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="ZYCS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZXZRLX" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZCXR" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZCXBZ" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZCXSJ" type="93" table="HIS_YZ_MXB" />
|
||
|
<f name="YZCXYY" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZFYZH" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZSFZYZ" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZSCZXCS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZTPKEY" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZDS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZJJBZ" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="CJR" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="CJRQ" type="93" table="HIS_YZ_MXB" />
|
||
|
<f name="JGID" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZLC" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZGLYZ" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZSYCS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZXKS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZKZXTS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="PS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="PSBZ" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZFJSM" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZFB" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZSYLS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZLSDW" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZSFPY" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZCLTM" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZCLYY" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZBZ" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZBBLX" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZDW" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZXZKS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZL" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZJZJLXS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZJZZHXS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YPYZJBJG" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YPYZJBDW" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YPYZBZJG" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YPYZBZDW" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YPYZDXDW" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YPYZDXSL" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YPYZZHXS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZMC" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZSFZT" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZTFSL" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZDJSL" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZYL" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZCYFSKEY" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZCYFS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZCYJX" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZCYDJF" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="ISDJJS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="DJJSSL" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="ISZCYDJCL" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="IZZCYDJFJF" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="ISGFFJ" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZCYBZ" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="SQDTYPE" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="SQDPKEY" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="SQDJSPKEY" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="SQDTFJE" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="ZYYZFL" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZSHYS" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZSHRQ" type="93" table="HIS_YZ_MXB" />
|
||
|
<f name="ISZPC" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZPC" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZPCFFSJ" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZXH" type="8" table="HIS_YZ_MXB" />
|
||
|
<f name="PSJG" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="ZCYGLCZLX" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZFR" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZFSJ" type="93" table="HIS_YZ_MXB" />
|
||
|
<f name="YZZFYY" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="PSJGSJ" type="93" table="HIS_YZ_MXB" />
|
||
|
<f name="PSJGR" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="ISGJJBYW" type="12" />
|
||
|
<f name="JX" type="12" />
|
||
|
<f name="CSXX" type="12" />
|
||
|
<f name="SFQYSHCF" type="12" table="HIS_YZ_MXB" />
|
||
|
<f name="SHCFZT" type="12" table="HIS_YZ_MXB" />
|
||
|
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="newShcfDao" log="true" type="1">
|
||
|
<sql>
|
||
|
select PKEY,HZPKEY,JZPKEY,SHCFH,HLYY,SHZT,SHR,SHRQ,SHKS,YZXZYS,YZXZKS,YZZXKS,CJR,CJRQ,XGR,XGRQ,jgid,LOCKFLAG from HIS_YFFY_SHCF where 1=2
|
||
|
|
||
|
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YFFY_SHCF" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHCFH" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="HLYY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHZT" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHR" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHRQ" type="93" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHKS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="YZXZYS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="YZXZKS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="YZZXKS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="CJR" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="CJRQ" type="93" table="HIS_YFFY_SHCF" />
|
||
|
<f name="XGR" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="XGRQ" type="93" table="HIS_YFFY_SHCF" />
|
||
|
<f name="JGID" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_YFFY_SHCF" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="newShcfLogDao" log="true" type="1">
|
||
|
<sql>
|
||
|
select PKEY,HZPKEY,JZPKEY,SHCFPKEY,SHCFH,SHRQ,SHR,SHZT,DOCTORBZ,YJSBZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_YFFY_SHCF_LOG where 1=2
|
||
|
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YFFY_SHCF_LOG" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="SHCFPKEY" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="SHCFH" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="SHRQ" type="93" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="SHR" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="SHZT" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="DOCTORBZ" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="YJSBZ" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="CJR" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="CJRQ" type="93" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="XGR" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="XGRQ" type="93" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="JGID" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_YFFY_SHCF_LOG" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="newShcfLogMxDao" log="true" type="1">
|
||
|
<sql>
|
||
|
select PKEY,SHCFLOGPKEY,YZMX,YZMC,YZYY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_YFFY_SHCF_LOG_MX where 1=2
|
||
|
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YFFY_SHCF_LOG_MX" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="SHCFLOGPKEY" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="YZMX" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="YZMC" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="YZYY" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="CJR" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="CJRQ" type="93" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="XGR" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="XGRQ" type="93" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="JGID" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
|
||
|
<dao id="ShcfByPkeyDao" log="true" type="1">
|
||
|
<sql>
|
||
|
select PKEY,HZPKEY,JZPKEY,SHCFH,HLYY,SHZT,SHR,SHRQ,SHKS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_YFFY_SHCF where JGID=? and pkey=?
|
||
|
|
||
|
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YFFY_SHCF" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHCFH" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="HLYY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHZT" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHR" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHRQ" type="93" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHKS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="CJR" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="CJRQ" type="93" table="HIS_YFFY_SHCF" />
|
||
|
<f name="XGR" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="XGRQ" type="93" table="HIS_YFFY_SHCF" />
|
||
|
<f name="JGID" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_YFFY_SHCF" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
<dao id="shcfReasonSetupDao" log="true" type="1">
|
||
|
<sql>
|
||
|
select PKEY,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG,PYM,WBM from HIS_YFFY_SHCF_REASON where JGID=? order by CJRQ
|
||
|
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YFFY_SHCF_REASON" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_YFFY_SHCF_REASON" />
|
||
|
<f name="BM" type="12" table="HIS_YFFY_SHCF_REASON" />
|
||
|
<f name="MC" type="12" table="HIS_YFFY_SHCF_REASON" />
|
||
|
<f name="CJR" type="12" table="HIS_YFFY_SHCF_REASON" />
|
||
|
<f name="CJRQ" type="93" table="HIS_YFFY_SHCF_REASON" />
|
||
|
<f name="XGR" type="12" table="HIS_YFFY_SHCF_REASON" />
|
||
|
<f name="XGRQ" type="93" table="HIS_YFFY_SHCF_REASON" />
|
||
|
<f name="JGID" type="12" table="HIS_YFFY_SHCF_REASON" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_YFFY_SHCF_REASON" />
|
||
|
<f name="PYM" type="12" table="HIS_YFFY_SHCF_REASON" />
|
||
|
<f name="WBM" type="12" table="HIS_YFFY_SHCF_REASON" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
<dao id="shcfReasonDic" log="true" cache="true" type="1">
|
||
|
<sql>
|
||
|
select PKEY,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG,PYM,WBM from HIS_YFFY_SHCF_REASON where JGID=? order by CJRQ
|
||
|
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YFFY_SHCF_REASON" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_YFFY_SHCF_REASON " />
|
||
|
<f name="BM" type="12" table="HIS_YFFY_SHCF_REASON " />
|
||
|
<f name="MC" type="12" table="HIS_YFFY_SHCF_REASON " />
|
||
|
<f name="CJR" type="12" table="HIS_YFFY_SHCF_REASON " />
|
||
|
<f name="CJRQ" type="93" table="HIS_YFFY_SHCF_REASON " />
|
||
|
<f name="XGR" type="12" table="HIS_YFFY_SHCF_REASON " />
|
||
|
<f name="XGRQ" type="93" table="HIS_YFFY_SHCF_REASON " />
|
||
|
<f name="JGID" type="12" table="HIS_YFFY_SHCF_REASON " />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_YFFY_SHCF_REASON " />
|
||
|
<f name="PYM" type="12" table="HIS_YFFY_SHCF_REASON " />
|
||
|
<f name="WBM" type="12" table="HIS_YFFY_SHCF_REASON " />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
<dao id="yshMzshcfDao" log="true" type="1" memo="已审核门诊药品处方">
|
||
|
<sql><![CDATA[
|
||
|
select e.PKEY,e.SHCFH,e.HLYY,e.SHZT,e.LOCKFLAG,a.HZPKEY,a.JZPKEY,a.CFH,c.jzno,d.xm,d.xb,c.jznl,d.hzlx,b.SG,b.TZ,c.jjrq,a.yzzxks,c.JZZDNAMELIST,c.JZZDBMLIST,a.JGID,a.YZXZYS,a.YZXZKS from HIS_YZ_MXB a left join HIS_JZ_MZBL b on a.jzpkey=b.jzpkey and a.JGID=b.JGID left join HIS_JZ_BASEINFO c on a.jzpkey=c.pkey and a.JGID=c.JGID left join HIS_HZINFO d on a.hzpkey=d.pkey and a.JGID=d.JGID left join HIS_YFFY_SHCF e on a.jzpkey=e.jzpkey and a.JGID=e.JGID and a.cfh=e.SHCFH where a.JGID=? and a.YZSHZT=1 and a.SFQYSHCF='1' and (a.YZLB='01' or a.YZLB='02' or a.YZLB='03') and (a.SHCFZT ='1' or a.SHCFZT ='2' or a.SHCFZT ='4' or a.SHCFZT ='5') and c.jjrq >=? and c.jjrq <=? group by a.HZPKEY,a.JZPKEY,a.CFH,c.jzno,d.xm,d.xb,c.jznl,d.hzlx,a.cfh,b.SG,b.TZ,c.jjrq,a.yzzxks,c.JZZDNAMELIST,c.JZZDBMLIST,e.PKEY,e.SHCFH,e.HLYY,e.SHZT,a.JGID,e.LOCKFLAG,a.YZXZYS,a.YZXZKS order by c.jjrq
|
||
|
|
||
|
]]></sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YFFY_SHCF" insert="false" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHCFH" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="HLYY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHZT" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_YFFY_SHCF" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="CFH" type="12" />
|
||
|
<f name="JZNO" type="12" />
|
||
|
<f name="XM" type="12" />
|
||
|
<f name="XB" type="12" />
|
||
|
<f name="JZNL" type="12" />
|
||
|
<f name="HZLX" type="12" />
|
||
|
<f name="SG" type="12" />
|
||
|
<f name="TZ" type="12" />
|
||
|
<f name="JJRQ" type="93" />
|
||
|
<f name="YZZXKS" type="12" />
|
||
|
<f name="JZZDNAMELIST" type="12" />
|
||
|
<f name="JZZDBMLIST" type="12" />
|
||
|
<f name="JGID" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="YZXZYS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="YZXZKS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>93</p>
|
||
|
<p>93</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
<dao id="mzysCfShActionDao" log="true" type="1" memo="门诊医生处方审核后的待处理dao">
|
||
|
<sql><![CDATA[
|
||
|
select a.PKEY,a.HZPKEY,a.JZPKEY,a.SHCFH,a.HLYY,a.SHZT,a.SHR,a.SHRQ,a.SHKS,a.YZXZYS,a.YZXZKS,a.YZZXKS,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,c.jzno,d.xm,d.xb,c.jznl,d.hzlx,b.SG,b.TZ,c.jjrq,c.JZZDNAMELIST,c.JZZDBMLIST from HIS_YFFY_SHCF a left join HIS_JZ_MZBL b on a.jzpkey=b.jzpkey and a.JGID=b.JGID left join HIS_JZ_BASEINFO c on a.jzpkey=c.pkey and a.JGID=c.JGID left join HIS_HZINFO d on a.hzpkey=d.pkey and a.JGID=d.JGID where a.JGID=? and (a.SHZT ='2' or a.SHZT ='4' ) and a.yzxzys=? and c.jjrq >=? and c.jjrq <=? order by c.jjrq
|
||
|
|
||
|
]]></sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YFFY_SHCF" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHCFH" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="HLYY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHZT" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHR" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHRQ" type="93" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHKS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="YZXZYS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="YZXZKS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="YZZXKS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="CJR" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="CJRQ" type="93" table="HIS_YFFY_SHCF" />
|
||
|
<f name="XGR" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="XGRQ" type="93" table="HIS_YFFY_SHCF" />
|
||
|
<f name="JGID" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_YFFY_SHCF" />
|
||
|
<f name="JZNO" type="12" />
|
||
|
<f name="XM" type="12" />
|
||
|
<f name="XB" type="12" />
|
||
|
<f name="JZNL" type="12" />
|
||
|
<f name="HZLX" type="12" />
|
||
|
<f name="SG" type="12" />
|
||
|
<f name="TZ" type="12" />
|
||
|
<f name="JJRQ" type="93" />
|
||
|
<f name="JZZDNAMELIST" type="12" />
|
||
|
<f name="JZZDBMLIST" type="12" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>93</p>
|
||
|
<p>93</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="shcfLogDao" log="true" type="1">
|
||
|
<sql>
|
||
|
select PKEY,HZPKEY,JZPKEY,SHCFPKEY,SHCFH,SHRQ,SHR,SHZT,DOCTORBZ,YJSBZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_YFFY_SHCF_LOG where JGID=? and SHCFPKEY=? order by SHRQ
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YFFY_SHCF_LOG" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="SHCFPKEY" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="SHCFH" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="SHRQ" type="93" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="SHR" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="SHZT" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="DOCTORBZ" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="YJSBZ" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="CJR" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="CJRQ" type="93" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="XGR" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="XGRQ" type="93" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="JGID" type="12" table="HIS_YFFY_SHCF_LOG" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_YFFY_SHCF_LOG" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
|
||
|
<dao id="shcfLogMxDao" log="true" type="1">
|
||
|
<sql>
|
||
|
select PKEY,SHCFLOGPKEY,YZMX,YZMC,YZYY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_YFFY_SHCF_LOG_MX where JGID=? and SHCFLOGPKEY =? order by CJRQ
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YFFY_SHCF_LOG_MX" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="SHCFLOGPKEY" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="YZMX" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="YZMC" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="YZYY" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="CJR" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="CJRQ" type="93" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="XGR" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="XGRQ" type="93" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="JGID" type="12" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_YFFY_SHCF_LOG_MX" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
<dao id="mzysCfShActionYjclDao" log="true" type="1" memo="门诊医生处方审核后的已处理dao">
|
||
|
<sql><![CDATA[
|
||
|
select a.PKEY,a.HZPKEY,a.JZPKEY,a.SHCFH,a.HLYY,a.SHZT,a.SHR,a.SHRQ,a.SHKS,a.YZXZYS,a.YZXZKS,a.YZZXKS,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,c.jzno,d.xm,d.xb,c.jznl,d.hzlx,b.SG,b.TZ,c.jjrq,c.JZZDNAMELIST,c.JZZDBMLIST from HIS_YFFY_SHCF a left join HIS_JZ_MZBL b on a.jzpkey=b.jzpkey and a.JGID=b.JGID left join HIS_JZ_BASEINFO c on a.jzpkey=c.pkey and a.JGID=c.JGID left join HIS_HZINFO d on a.hzpkey=d.pkey and a.JGID=d.JGID where a.JGID=? and (a.SHZT ='1' or a.SHZT ='3' or a.SHZT ='5' or a.SHZT ='4' ) and a.yzxzys=? and c.jjrq >=? and c.jjrq <=? order by c.jjrq
|
||
|
|
||
|
]]></sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YFFY_SHCF" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="HZPKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="JZPKEY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHCFH" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="HLYY" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHZT" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHR" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHRQ" type="93" table="HIS_YFFY_SHCF" />
|
||
|
<f name="SHKS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="YZXZYS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="YZXZKS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="YZZXKS" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="CJR" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="CJRQ" type="93" table="HIS_YFFY_SHCF" />
|
||
|
<f name="XGR" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="XGRQ" type="93" table="HIS_YFFY_SHCF" />
|
||
|
<f name="JGID" type="12" table="HIS_YFFY_SHCF" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_YFFY_SHCF" />
|
||
|
<f name="JZNO" type="12" />
|
||
|
<f name="XM" type="12" />
|
||
|
<f name="XB" type="12" />
|
||
|
<f name="JZNL" type="12" />
|
||
|
<f name="HZLX" type="12" />
|
||
|
<f name="SG" type="12" />
|
||
|
<f name="TZ" type="12" />
|
||
|
<f name="JJRQ" type="93" />
|
||
|
<f name="JZZDNAMELIST" type="12" />
|
||
|
<f name="JZZDBMLIST" type="12" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>93</p>
|
||
|
<p>93</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
<dao id="getShcfByHzCfhDao" log="true" type="1">
|
||
|
<sql>
|
||
|
select PKEY,HZPKEY,JZPKEY,SHCFH,HLYY,SHZT,SHR,SHRQ,SHKS,YZXZYS,YZXZKS,YZZXKS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_YFFY_SHCF where JGID=? and hzpkey=? and jzpkey=? and SHCFH=?
|
||
|
</sql>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" />
|
||
|
<f name="HZPKEY" type="12" />
|
||
|
<f name="JZPKEY" type="12" />
|
||
|
<f name="SHCFH" type="12" />
|
||
|
<f name="HLYY" type="12" />
|
||
|
<f name="SHZT" type="12" />
|
||
|
<f name="SHR" type="12" />
|
||
|
<f name="SHRQ" type="93" />
|
||
|
<f name="SHKS" type="12" />
|
||
|
<f name="YZXZYS" type="12" />
|
||
|
<f name="YZXZKS" type="12" />
|
||
|
<f name="YZZXKS" type="12" />
|
||
|
<f name="CJR" type="12" />
|
||
|
<f name="CJRQ" type="93" />
|
||
|
<f name="XGR" type="12" />
|
||
|
<f name="XGRQ" type="93" />
|
||
|
<f name="JGID" type="12" />
|
||
|
<f name="LOCKFLAG" type="-5" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
<dao id="mzPopyfDao" log="true" type="1" memo="门诊pop药房列表字典">
|
||
|
<sql>
|
||
|
|
||
|
select a.DPTID,a.DPTCODE,a.DPTNAME,b.CJR,b.CJRQ,b.XGR,b.XGRQ,b.JGID,b.KSKEY,b.QYSF,b.CFSH,b.TQBY,b.PYQR,b.ZDDYPYD,b.PY,b.KKSTY,b.ZCY,a.DPTZJM from HIS_YFFY_MZFYKS_SETUP b left join MAIN_KS a on a.DPTID=b.KSKEY and a.JGID=b.JGID where b.ZCY = 1 and a.DPTFLAG=1 and b.JGID=? order by a.DPTCODE
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_YFFY_MZFYKS_SETUP" insert="true" update="true" delete="true">
|
||
|
<primary>JGID</primary>
|
||
|
<primary>YFPKEY</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="DPTID" type="12" />
|
||
|
<f name="DPTCODE" type="12" />
|
||
|
<f name="DPTNAME" type="12" />
|
||
|
<f name="CJR" type="12" table="HIS_YFFY_MZFYKS_SETUP" />
|
||
|
<f name="CJRQ" type="93" table="HIS_YFFY_MZFYKS_SETUP" />
|
||
|
<f name="XGR" type="12" table="HIS_YFFY_MZFYKS_SETUP" />
|
||
|
<f name="XGRQ" type="93" table="HIS_YFFY_MZFYKS_SETUP" />
|
||
|
<f name="JGID" type="12" table="HIS_YFFY_MZFYKS_SETUP" />
|
||
|
<f name="KSKEY" type="12" table="HIS_YFFY_MZFYKS_SETUP" />
|
||
|
<f name="QYSF" type="12" table="HIS_YFFY_MZFYKS_SETUP" />
|
||
|
<f name="CFSH" type="12" table="HIS_YFFY_MZFYKS_SETUP" />
|
||
|
<f name="TQBY" type="12" table="HIS_YFFY_MZFYKS_SETUP" />
|
||
|
<f name="PYQR" type="12" table="HIS_YFFY_MZFYKS_SETUP" />
|
||
|
<f name="ZDDYPYD" type="12" table="HIS_YFFY_MZFYKS_SETUP" />
|
||
|
<f name="PY" type="12" table="HIS_YFFY_MZFYKS_SETUP" />
|
||
|
<f name="KKSTY" type="12" table="HIS_YFFY_MZFYKS_SETUP" />
|
||
|
<f name="ZCY" type="12" table="HIS_YFFY_MZFYKS_SETUP" />
|
||
|
<f name="DPTZJM" type="12" />
|
||
|
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
<!--审核处方状态字典100193-->
|
||
|
<dao id="shcfztdic" cache="true" type="1">
|
||
|
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100193' 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>
|
||
|
|
||
|
</datasource>
|