select BM,MC,JB,PYM,WBM,SJBM,BZ,ZT from MAIN_XZQH order by bm BM
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 ZDZB_BHBH
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 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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
select BH,MC,PYM,WBM from MAIN_ZDB where ZDZB_BH='000002' order by XH asc,BH asc 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 ZDZB_BHBH
select DPTGPID,DPTGPCODE,DPTGPNAME,DPTDPTGPRMARK,CJR,CJRQ,XGR,XGRQ,JGID,DPTGPFLAG from MAIN_KSZ where JGID=? and DPTGPFLAG='1' DPTGPIDDPTGPCODE

12

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

12

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 ?) DPTID

12

12

12

12

12

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' EMPID
EMPIDUSERACCOUNT

12

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

12

12

12

12

12

12

select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100159' order by XH asc,BH asc ZDZB_BHBH
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 ZDZB_BHBH
select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000014' order by XH asc,BH asc ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
SELECT CODE,CNAME FROM MAIN_REGION CODE
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ZDZB_BHBH
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 ?)

12

12

12

12

12

12

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 ZDZB_BHBH
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 ZDZB_BHBH
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 PKEY
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 ZDZB_BHBH
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 ZDZB_BHBHMC
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 ZDZB_BHBH
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 ZDZB_BHBH
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 DPTIDDPTCODEJGID

12