【myApps/OBPM版本号】:v4.4- sp XX
【浏览器类型】:Chrome/其他
【联系方式-QQ】:请留下您的QQ号码
【联系电话】: 请留下您的联系电话,以便技术同事更好解决您的问题
【问题描述】:
问:我想要获取某个表单关联的流程节点提交时间和相关状态(提交、回退、回撤),目前发现有两个表,一个是t_relationhis,一个是t_flowhistory,但是好像t_relationhis是流程中的,t_flowhistory是流程结束后的,有没有一个流程表是包含整个过程的?
答:SELECT "
+ "'__nhnsn0DlLVHl5IXzXn2' domainid, "
+ "tr.flowoperation item_flowoperation, "
+ "tr.startnodename item_startnodename, "
+ "his.name item_name, "
+ "his.actorid item_actorid, "
+ "his.AGENTNAME item_AGENTNAME, "
+ "date_format(his.actiontime, '%Y-%m-%d %H:%i:%s' ) item_starttime, "
+ "tr.endnodename item_endnodename, "
+ "date_format(his.processtime, '%Y-%m-%d %H:%i:%s' ) item_endtime, "
+ "'已处理' item_isread, "
+ "his.doc_id, "
+ "his.RECEIVERINFO item_receiverinfo, "
+ "his.attitude item_attitude, "
+ "(select orderbyno from SYSDBA.t_department dept where dept.id = (select defaultdepartment from SYSDBA.t_user usr where usr.id = his.actorid)) item_dept_orderbyno "
+ "FROM "
+ "(select name,actorid,AGENTNAME,doc_id,RECEIVERINFO,attitude,nodehis_id,processtime,actiontime from T_ACTORHIS ) his "
+ "INNER JOIN "
+ "T_RELATIONHIS tr "
+ "ON "
+ "his.nodehis_id = tr.id "
1、问题描述最好图文并茂,如有视频/脚本可直接放出,这样技术同事在处理该问题时效率更加高效哦~
2、如果该问题已得到解决,请在该帖子下回复\"已解决可结帖\"
|