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DSTIME,PSZXKS from (select a.*,d.ZXDLX from HIS_YZ_EXEC c left join HIS_YZ_MXB a on c.yzmx=a.pkey and c.jzpkey=a.jzpkey left join HIS_YZ_ZXD d on a.YZYF=d.ZXDYF and a.JGID=d.JGID where a.JGID=? and a.JZPKEY =? and (a.yzlx='0' or a.yzlx='5') #zxdtype# and c.zxflag =? ) order by yzxh
12
12
12
select distinct '' PSFLAG,c.yzmx||c.QUERYCODE flagcode,c.PKEY,c.JZPKEY,c.HZPKEY,c.ZYNO,c.YZMX,c.YZXPKEY,c.ZXFLAG,c.ZXR,c.ZXTIME,c.ZXRKS,c.ZXRWARD,c.PRINTFLAG,c.PRINTMAN,c.PRINTTIME,c.BBCJFLAG,c.BBCJMAN,c.BBCJTIME,c.BBTM,c.QUERYCODE,c.SFFLAG,c.ZXSL,c.ZXDW,c.ZXJE,c.YZBEGINSJ,c.YZZXBEGINSJ,c.YZTZSJ,c.YZMS,c.JZBZ,c.ZDZBPKEY,c.CXR,c.CXSJ,c.TZR,c.TZSJ,c.CJR,c.CJRQ,c.XGR,c.XGRQ,c.JGID,c.cfh,c.YZMC,d.ZXDLX,c.ISACTION,e.PKEY pybpkey,e.SFLYSH,e.SFYSSH,e.LYSHR,e.LYSHRQ,e.YSSHR,e.YSSHRQ,e.FYZT,a.yzlx,a.YZLB,a.SQDTYPE,a.YZXZSJ,a.YZXZYS,a.YZJL,a.YZJLDW,a.YZPC,a.YZTS,a.YZYF,a.YZTZH,a.PS,a.PSBZ,a.PSJG,c.LOCKFLAG,a.YZJZJLXS,a.YPYZDXDW,a.YPYZDXSL,a.YZDXRL from HIS_YZ_EXEC c left join HIS_YZ_MXB a on c.yzmx=a.pkey and c.jzpkey=a.jzpkey left join HIS_YZ_ZXD d on a.YZYF=d.ZXDYF and a.JGID=d.JGID left join HIS_YFFY_PYB e on c.pkey=e.DFYPKEY and c.JGID=e.JGID where a.JGID=? and a.JZPKEY =? and (a.yzlx='0' or a.yzlx='5') #zxdtype# and c.zxflag =? order by c.YZMX,c.ZXTIME desc
PKEY
JZPKEY
SFFLAG
HZPKEY
ZXFLAG
JZBZ
ISACTION
12
12
12
= ? and a.JJRQ <=?) order by JJRQ desc
]]>
12
93
93