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,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 PKEYHZPKEYJZPKEYJGID

12

12

12

12

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 PKEYJGID
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 PKEYJGID
select PKEY,SHCFLOGPKEY,YZMX,YZMC,YZYY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_YFFY_SHCF_LOG_MX where 1=2 PKEYJGID
select PKEY,HZPKEY,JZPKEY,SHCFH,HLYY,SHZT,SHR,SHRQ,SHKS,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_YFFY_SHCF where JGID=? and pkey=? PKEYJGID

12

12

select PKEY,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG,PYM,WBM from HIS_YFFY_SHCF_REASON where JGID=? order by CJRQ PKEYJGID

12

select PKEY,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG,PYM,WBM from HIS_YFFY_SHCF_REASON where JGID=? order by CJRQ PKEYJGID

12

=? 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 ]]> PKEYJGID

12

93

93

=? and c.jjrq <=? order by c.jjrq ]]> PKEYJGID

12

12

93

93

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 PKEYJGID

12

12

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 PKEYJGID

12

12

=? and c.jjrq <=? order by c.jjrq ]]> PKEYJGID

12

12

93

93

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=?

12

12

12

12

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 JGIDYFPKEY

12

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 ZDZB_BHBH