select USERID,EMPID,PKEY from MAIN_USERS where COMPANYID=? and EFFICET='0' and PKEY is null EMPID

12

select JGMC,PKEY,JKPTJGBM from MAIN_YLJG where JKPTJGBM is not null select a.COMPANYID,a.YBID,b.USERACCOUNT,a.USERID,a.PKEY,b.NAME from MAIN_USERS a left join MAIN_EMPLOYEES b on a.EMPID=b.EMPID where a.EFFICET='0' and a.COMPANYID=?

12

select a.COMPANYID,a.DPTID,a.DPTNAME,ISJZ from MAIN_DEPARTMENT a where a.COMPANYID=?

12

select PKEY,COMPANYID,YWLX,RF1,RF2,RF3,RF4,RF5,SCZT1,SCZT2,SCZT3,SCZT4,SCZT5 from HIS_YB_QTSC where 1=2 PKEY

12

93

select HOS_CODE,OUTPATIENT_NO,DEPT_CODE,DOC_NAME,DOC_CODE,PATIENT_NAME,PATIENT_PHONE,CARD_CODE,ORDER_DATE,ORDER_TYPE,CREATE_TIME,HOS_CARD_TYPE,HOS_CARD from GH_RYXXB where HOS_CODE like ? and ORDER_DATE like ? HOS_CODEOUTPATIENT_NO

12

12

select p.PKEY scpkey,a.PKEY ZGBM,b.USERACCOUNT GH,b.NAME XM,b.SEX Xb,b.BIRTHDAY CSRQ,b.MZ MZDM,b.IDTYPE SFBSLBDM,b.IDENTITYID SFBSHM,d.DPTID SSKS,d.DPTNAME SSKSMC,y.VALUE3 SSZXKSDM,'90' RYLB,'0' Ghzt,'2' BZQK,'0' SJTRYBZ,'1' GZZT,'2' PXLB,'0' SFNRQKYSPX,d.DPTYBCODE from MAIN_USERS a left join MAIN_EMPLOYEES b on a.EMPID=b.EMPID left join HIS_YB_QTSC p on a.COMPANYID=p.COMPANYID and p.YWLX='JC_YHRYXXB' and p.RF1=a.PKEY left join MAIN_DEPARTMENT d on a.COMPANYID=d.COMPANYID and a.MRKS=d.DPTID left join HIS_YB_DMZDB y on y.LBBM='caty' and d.DPTYBCODE=y.BM where a.EFFICET='0' and nvl(p.SCZT1,'0')='0' and b.USERACCOUNT is not null and a.COMPANYID=?

12

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