select PKEY,BM,MC,JH,CFCQ,LOCKFLAG from HIS_CFDP_DPFS order by pkey
select PKEY,BM,MC,JH,CFCQ,LOCKFLAG from HIS_CFDP_DPFS order by pkey
select PKEY,BM,MC,JH,CFCQ,LOCKFLAG from HIS_CFDP_DPFS where JH=1 order by pkey
select PKEY,DPFS,DPYY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CFDP_DPYY where JGID=? and dpfs=? order by pkey
12
12
select PKEY,DPFS,DPYY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CFDP_DPYY where JGID=? and dpfs=? order by pkey
12
12
select PKEY,BHGJS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CFDP_BHGJS where JGID=? order by pkey
12
select PKEY,BHGJS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CFDP_BHGJS where JGID=? order by pkey
12
select PKEY,YSJY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CFDP_BHGYSJY where JGID=? order by pkey
12
select PKEY,YSJY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CFDP_BHGYSJY where JGID=? order by pkey
12
select PKEY,KJYWFL,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CFDP_KJYWFL where JGID=? order by pkey
12
select a.PKEY,a.KJYWFL,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,b.MC from HIS_CFDP_KJYWFL a left join MAIN_ZDB b on b.ZDZB_BH='000015' and a.KJYWFL=b.bh where a.JGID=? order by a.pkey
12
select PKEY,GZYWFL,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CFDP_GZYWFL where JGID=? order by pkey
12
select a.PKEY,a.GZYWFL,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,b.MC from HIS_CFDP_GZYWFL a left join MAIN_ZDB b on b.ZDZB_BH='000015' and a.GZYWFL=b.bh where a.JGID=? order by a.pkey
12
select PKEY,YSZH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CFDP_DPYS where JGID=? order by pkey
12
select PKEY,YSZH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CFDP_DPYS where JGID=? order by pkey
12
select PKEY,DPFS,KSRQ,JSRQ,CFZS,JZLX,YSKS,YS,CFLX,KJYWJB,YZMC,YZFB,YFMC,GZFL,YXFL,CFJEDY,JX,BRNLXX,BRNLSX,JBYW,LC,DPDPKEY,DPDH,CCS,CCBFB,SCZT,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CFDP_CFZHDPD where JGID=? order by CJRQ desc
12
select bm,mc,JGID from HIS_YZX where JGID=? and (yzdl='01' or yzdl='02' or yzdl='03') order by bm
12
= ? and f.jjrq <=? #select# order by yzmxb.cfh
]]>
12
93
93
= ? and f.jjrq <=? #select# order by yzmxb.cfh
) group by cfh )
]]>
12
93
93
select '' JZPKEY,'' CFH,'' YZXZKS,'' YZXZYS,'' JGID,'' JJKS,'' HZPKEY,'' SFXZFY,sysdate JJRQ,sysdate CSRQ,0 cfzje,0 jznl from dual
select PKEY,DPFSPKEY,DPFS,DPDH,DPRQ,DPKSRQ,DPJSRQ,ZDR,LX,CCCFSL,WFPSL,SFWC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CFDP_DPD where 1=2
select PKEY,DPFSPKEY,DPFS,DPDPKEY,DPDH,HZPKEY,JZPKEY,DPCFH,DPZT,DPR,DPRQ,DPKS,YZXZYS,YZXZKS,YZZXKS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG,ISDP from HIS_CFDP_CFDPCFMX where 1=2
=? and DPRQ <=? order by DPRQ
]]>
12
93
93
select a.PKEY,a.YSZH,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,b.name,0 fprwsl from HIS_CFDP_DPYS a left join MAIN_YHXX b on a.yszh=b.useraccount where a.JGID=? order by a.yszh
12
select PKEY,DPFSPKEY,DPFS,DPDPKEY,DPDH,HZPKEY,JZPKEY,DPCFH,DPZT,DPR,DPRQ,DPKS,YZXZYS,YZXZKS,YZZXKS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG,ISDP from HIS_CFDP_CFDPCFMX where JGID=? and DPDPKEY=? order by pkey
12
12
select count(1) num,DPR from HIS_CFDP_CFDPCFMX where JGID=? and DPDPKEY=? and dpr is not null group by DPR order by dpr
12
12
select PKEY,DPFSPKEY,DPFS,DPDPKEY,DPDH,HZPKEY,JZPKEY,DPCFH,DPZT,DPR,DPRQ,DPKS,YZXZYS,YZXZKS,YZZXKS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG,ISDP from HIS_CFDP_CFDPCFMX where JGID=? and DPDPKEY=? and DPR=? order by pkey
12
12
12
select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100195' and zt=1 order by XH asc,BH asc
select distinct a.PKEY,a.HZPKEY,a.GHPKEY,a.JZLX,a.JZZT,a.JZZB,a.HZFB,a.JZJS,a.ISYB,a.ISZZ,a.YYLX,a.ISLG,a.ISGSSJJ,a.HZYBLX,a.JJKS,a.JJRQ,a.JJYS,a.FBRQ,a.ZYNUM,a.WARD,a.ROOM,a.BED,a.KZRQ,a.JSRQ,a.THRY,a.HDYY,a.HDRQ,a.MZNUM,a.CJR,a.CJRQ,a.JGID,a.JZNO,a.MZNO,a.ZYNO,a.JZKH,a.CARDPKEY,a.JZNL,a.ISJZ,a.ZYLX,a.ZYHZLY,a.ZYYYRQ,a.CYRQ,a.CYYS,a.ZYNOOLD,a.SCZYRQ,a.ISGL,a.ISSJ,b.HZLX,a.GRLX,a.QTGRLX,a.CWFJLX,a.YSLX,a.MQJZINFO,a.ZKRQ,a.RYTJ,a.RYBQ,a.RYJZINFO,a.RYYS,a.RYQK,a.JZZL,a.JYYJ,a.ZYBZ,a.RYZD,a.RYZDMS,a.ZYBAH,a.RYNL,a.RYXSENLD,a.RYXSENLH,a.RYXSENLS,a.ZYZH,a.JZKLX,b.xm,b.xb,b.GZDW,b.XZDZ,a.CRFS,a.OTHERCRFS,a.MAINBLYS,a.MAINBLXS,a.MOTHERJZPKEY,a.ZKDATE,a.RQDATE,a.CYKS,a.CYWARD,a.CYBED,a.HZZYZT,a.ISZZJS,a.ZZJSSJ,a.ZZJSR,a.ISYLJS,a.YLJSR,a.YLJSSJ,a.ISZZCWJS,a.CWJSR,a.CWJSSJ,a.ZDZBPKEY,a.CYBQ,a.CYQK,a.ISDEAD,a.DEADRQ,b.csrq,a.JZZDNAMELIST JBMC,a.SFLSTD from HIS_JZ_BASEINFO a left join HIS_HZINFO b on a.JGID=b.JGID and a.HZPKEY=b.pkey where a.JGID=? and a.HZPKEY=? and a.pkey=? and a.JZZT != 'P' and a.JZZT != 'T' and a.JZZT != 'F' order by a.JJRQ desc
12
12
12
=? and a.DPRQ <=? order by a.DPRQ) where fpsl > 0
]]>
12
12
12
93
93
SELECT PKEY,DPDPKEY,DPCFBPKEY,YZMX,YZMC,DPYY,DPRQ,DPR,DPJG,BHGJSZ,YSJY,SFYX,BZ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG FROM HIS_CFDP_DPLOG WHERE JGID=? AND DPDPKEY=? AND DPCFBPKEY=? ORDER BY CJRQ desc
12
12
12