{"id":221,"date":"2021-01-19T09:26:27","date_gmt":"2021-01-19T01:26:27","guid":{"rendered":"https:\/\/22pig.com\/?p=221"},"modified":"2021-01-19T09:26:27","modified_gmt":"2021-01-19T01:26:27","slug":"%e6%b3%9b%e5%be%aeoa-%e5%b8%b8%e7%94%a8%e6%93%8d%e4%bd%9c","status":"publish","type":"post","link":"http:\/\/22pig.com\/?p=221","title":{"rendered":"\u6cdb\u5faeOA \u5e38\u7528\u64cd\u4f5c"},"content":{"rendered":"<p>\u67e5\u8be2\u6709\u95ee\u9898\u7684\u6d41\u7a0b<\/p>\n<p>select t1.requestid,t1.requestmark,t1.createdate, t1.createtime,t1.creater, t1.creatertype,<br \/>\nt1.workflowid, t1.requestname, t1.requestnamenew, t1.status,t1.requestlevel,t1.currentnodeid,<br \/>\nt2.viewtype,t2.userid,t2.receivedate,t2.receivetime,t2.isremark,t2.nodeid,t2.agentorbyagentid,<br \/>\nt2.agenttype,t2.isprocessed,t2.usertype,t1.deleted,t2.takisremark,t2.islasttimes,t1.currentstatus<br \/>\nfrom workflow_requestbase t1,workflow_currentoperator t2<br \/>\nwhere (t1.deleted &lt;&gt; 1 or t1.deleted is null or t1.deleted=&#8221;) and t1.<br \/>\nrequestid = t2.requestid<br \/>\nand t2.userid = 3774<br \/>\nand t2.usertype=0<br \/>\nand (t1.deleted=0 or t1.deleted is null)<br \/>\nand ((t2.isremark=0 and (t2.takisremark is null or t2.takisremark=0 ))<br \/>\nor t2.isremark in(&#8216;1&#8242;,&#8217;5&#8242;,&#8217;8&#8242;,&#8217;9&#8242;,&#8217;7&#8242;))<br \/>\nand (t1.deleted=0 or t1.deleted is null)<br \/>\nand t2.islasttimes=1<br \/>\nand (nvl(t1.currentstatus,-1) = -1 or (nvl(t1.currentstatus,-1)=0))<br \/>\nand t1.workflowid in (<br \/>\nselect id<br \/>\nfrom workflow_base<br \/>\nwhere (isvalid=&#8217;1&#8242; or isvalid=&#8217;3&#8242;) )<\/p>\n<p>&#8212;&#8212;-\u6d41\u7a0b\u521b\u5efa\u8282\u70b9\u9875\u9762<br \/>\naddwfnode.jsp<br \/>\nEditwfnode.jsp<br \/>\naddwfnodeportal.jsp<\/p>\n<p>&#8211;\u6d41\u7a0b\u5c5e\u6027\u76f8\u5173\u9875\u9762<br \/>\n\\workflow\\form\\editformfield.jsp<br \/>\n\\workflow\\form\\addfieldbatch.jsp<\/p>\n<p>\u67e5\u8be2\u7cfb\u7edf\u4e2d\u8868\u7684\u8bb0\u5f55\u6570<br \/>\nselect a.name as \u8868\u540d,max(b.rows) as \u8bb0\u5f55\u6761\u6570 from sysobjects a ,sysindexes b<br \/>\nwhere a.id=b.id and a.xtype=&#8217;u&#8217;<br \/>\ngroup by a.name<br \/>\norder by max(b.rows) desc<\/p>\n<p>emessage\u91cd\u88c5<br \/>\n\u89e3\u51b3:openfire\u8bbe\u7f6e\u7684\u914d\u7f6e\u6587\u4ef6\u8def\u5f84\u4e3a\uff1a..\/openfire\/conf\/openfire.xml\u3002<br \/>\n\u6253\u5f00xml\u6587\u4ef6\u53d1\u73b0\u5b89\u88c5\u8bbe\u7f6e\u5b8c\u6210\u540esetup\u7684\u503c\u4e3atrue<br \/>\n&lt;setup&gt;true&lt;\/setup&gt;<br \/>\n\u9996\u5148\u5173\u95edopenfire\u670d\u52a1\u5668\uff0c<br \/>\n\u7136\u540e\u5220\u9664&lt;setup&gt;\u5c5e\u6027\uff0c<br \/>\n\u7136\u540e\u91cd\u65b0\u542f\u52a8 Openfire \u5e76\u91cd\u65b0\u88c5\u5165\u8bbe\u7f6e\u5de5\u5177\u3002<br \/>\nhttp:\/\/127.0.0.1:9090\/setup\/index.jsp\u5c31\u53ef\u4ee5\u91cd\u65b0\u8bbe\u7f6e\u4e86\u3002<\/p>\n<p>&#8212;-IE\u9000\u51fa\u7684\u95ee\u9898\uff0c\u662f\u7531\u4e8eNginx\u7684\u914d\u7f6e<\/p>\n<p>&#8211;\u6d41\u7a0b \u8868\u5355 \u6a21\u677f\u8bbe\u8ba1\u53caJS \u4ee3\u7801\u5757<br \/>\nselect b.workflowname,a.* from workflow_nodehtmllayout a,workflow_base b<br \/>\nwhere a.workflowid = b.id &#8211;and a.workflowid=511<br \/>\nand workflowname like &#8216;%ITGL19%&#8217;<br \/>\n&#8212; and layoutname like &#8216;%\u663e\u793a%&#8217;<br \/>\nand type = 0<br \/>\n&#8212;<br \/>\nselect layoutname,datajson,pluginjson,scripts from workflow_nodehtmllayout<br \/>\nwhere workflowid=511 and type = 0<\/p>\n<p>\u4fee\u590d\u5f85\u529e\u6d41\u7a0b\uff0c\u663e\u793a\u4e0d\u4e86\u7684\u95ee\u9898<br \/>\nupdate workflow_currentoperator set isremark=&#8217;2&#8242; where isremark=&#8217;f&#8217; ;<\/p>\n<p>\u6e05\u9664\u5ba1\u6279\u610f\u89c1\uff1a<br \/>\nupdate workflow_approvelog set remark =&#8221; where requestid =471512 and nodeid = 5664;<br \/>\nupdate workflow_requestLog set remark =&#8221; where requestid =471512 and nodeid = 5664;<\/p>\n<p>\u5efa\u6a21\uff0c\u8868\u5355\u8bbe\u8ba1<br \/>\nselect * from modehtmllayout<\/p>\n<p>\u5220\u9664\u5386\u53f2\u7684\u8868\u5355<br \/>\n&#8211;delete from modehtmllayout where isdefault =0;<br \/>\n&#8211;delete from workflow_nodehtmllayout where isactive=0<\/p>\n<p>select count(1) from workflow_currentoperator where userid = 716 and isremark =0 &#8211;\u5f85\u529e\u6570\u91cf<\/p>\n<p>\u8282\u70b9\u64cd\u4f5c\u4eba<br \/>\nselect * from Workflow_HrmOperator where objid in ()<br \/>\n&#8212;<br \/>\nselect d.id,d.workflowname,a.nodeid,b.nodename,c.groupname,g.objid,h.lastname<br \/>\nfrom workflow_flownode a,workflow_nodebase b, workflow_nodegroup c,workflow_base d,<br \/>\nWorkflow_HrmOperator g,hrmresource h&#8211;,workflow_groupdetail_matrix m<br \/>\nwhere a.nodeid = b.id and b.id = c.nodeid<br \/>\nand a.workflowid = d.id<br \/>\nand c.id = g.groupid<br \/>\nand (d.isvalid =1 or isvalid =3)<br \/>\n&#8211;and g.type = 3<br \/>\n&#8211;and g.groupid =7811<br \/>\nand g.objid=h.id<br \/>\nand g.objid =1044<\/p>\n<p>&#8212; \u5f85\u529e\u4e8b\u5b9c<br \/>\nselect distinct t1.requestid, t1.createdate, t1.createtime,t1.creater, t1.creatertype,<br \/>\nt1.workflowid, t1.requestname, t1.status,t1.requestlevel,t1.currentnodeid,t2.viewtype,<br \/>\nt2.receivedate,t2.receivetime,t2.isremark,t2.nodeid,t2.agentorbyagentid,t2.agenttype<br \/>\nfrom workflow_requestbase t1,workflow_currentoperator t2<br \/>\nwhere t1.requestid = t2.requestid<br \/>\nand t2.userid = 1 &#8212; \u7528\u6237ID<br \/>\nand t1.workflowid in(301) &#8212; \u6d41\u7a0bID<br \/>\n&#8212; \u4e0b\u9762\u8fd9\u4e9b\u6761\u4ef6\u6ca1\u6709\u4ed4\u7ec6\u7814\u7a76\u8fc7\uff0c\u6211\u4e5f\u4e0d\u77e5\u9053\u5206\u522b\u6709\u4ec0\u4e48\u4f5c\u7528\uff0c\u53ea\u77e5\u9053\u8fd9\u6837\u53ef\u4ee5\u67e5\u5230\u5f85\u529e\u4e8b\u5b9c<br \/>\nand t2.usertype=0 &#8212; \u7528\u6237\u7c7b\u578b\uff0c1\u4e3a\u666e\u901a\u7528\u6237\uff0c2\u4e3a\u5ba2\u6237<br \/>\nand t2.isremark in( &#8216;0&#8217;,&#8217;1&#8242;,&#8217;5&#8242;,&#8217;8&#8242;,&#8217;9&#8242;,&#8217;7&#8242;)<br \/>\nand t2.islasttimes=1<br \/>\n&#8212; \u6309\u65f6\u95f4\u5012\u5e8f<br \/>\norder by t2.receivedate ,t2.receivetime Desc<\/p>\n<p>\u5220\u9664\/\u5173\u95ed\u7ba1\u7406\u5458-\u6d41\u7a0b<br \/>\n&#8211;del pending flow<br \/>\nupdate workflow_requestbase set deleted =1 where requestid in(<br \/>\nselect DISTINCT a.requestid from workflow_requestbase a,workflow_currentoperator b,workflow_base c,workflow_type d<br \/>\nwhere a.requestid = b.requestid and a.workflowid = c.id and c.workflowtype = d.id<br \/>\nand b.userid = 1 and a.deleted =0 and d.id = 1 &#8211;workflowtype<br \/>\n);<\/p>\n<p>\u7ec4\u7ec7\u67b6\u6784\uff1aselect loginid,dbo.ryjg(id) &#8216;\u7ec4\u7ec7\u67b6\u6784&#8217;,lastname,email from hrmresource where status = 1<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u67e5\u8be2\u6709\u95ee\u9898\u7684\u6d41\u7a0b select t1.requestid,t1.requestmark,t1.createdate, t1.createtime,t1.creater, t1.creatertype, t1.workflowid, t1.requestname, t1.requestnamenew, t1.status,t1.requestlevel,t1.currentnodeid, t2.viewtype,t2.userid,t2.receivedate,t2.receivetime,t2.isremark,t2.nodeid,t2.agentorbyagentid, t2.agenttype,t2.isprocessed,t2.usertype,t1.deleted,t2.takisremark,t2.islasttimes,t1.currentstatus from workflow_requestbase t1,workflow_currentoperator t2 where (t1.deleted &lt;&gt; 1 or t1.deleted is null or t1.deleted=&#8221;) and t1. requestid = t2.requestid and t2.userid = 3774 and t2.usertype=0 and (t1.deleted=0 or t1.deleted is null) and ((t2.isremark=0 and (t2.takisremark is null or t2.takisremark=0 )) or t2.isremark in(&#8216;1&#8242;,&#8217;5&#8242;,&#8217;8&#8242;,&#8217;9&#8242;,&#8217;7&#8242;)) and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-221","post","type-post","status-publish","format-standard","hentry","category-ecology"],"_links":{"self":[{"href":"http:\/\/22pig.com\/index.php?rest_route=\/wp\/v2\/posts\/221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/22pig.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/22pig.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/22pig.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/22pig.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=221"}],"version-history":[{"count":0,"href":"http:\/\/22pig.com\/index.php?rest_route=\/wp\/v2\/posts\/221\/revisions"}],"wp:attachment":[{"href":"http:\/\/22pig.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/22pig.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/22pig.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}