做网站怎样收费的,安庆市网站建设公司,wordpress占用空间越来越大,WordPress 突破2M大小一、act_hi_comment和act_hi_attachment两表表#xff0c;前者意见表后者是附件表
意见表它里面有一个类型type字段#xff0c;分别是comment代表意见(这个type可以自定义,例如自定义为#xff1a;通过/退回/提前终止#xff09;#xff0c;缺省提供了comment#xff0c…一、act_hi_comment和act_hi_attachment两表表前者意见表后者是附件表
意见表它里面有一个类型type字段分别是comment代表意见(这个type可以自定义,例如自定义为通过/退回/提前终止缺省提供了commentevent是事件当你给附件表增加记录时它就会在意见表同时增加多少条记录并且type的类型为event。所以取意见时需要注意这个问题。
一act_hi_comment提供了以下方法
/** Add a comment to a task and/or process instance. */
Comment addComment(String taskId, String processInstanceId, String message);/** Add a comment to a task and/or process instance with a custom type. */
Comment addComment(String taskId, String processInstanceId, String type, String message);/** Update a comment to a task and/or process instance. */
void saveComment(Comment comment);/*** Returns an individual comment with the given id. Returns null if no comment exists with the given id.*/
Comment getComment(String commentId);/** Removes all comments from the provided task and/or process instance */
void deleteComments(String taskId, String processInstanceId);/*** Removes an individual comment with the given id.* * throws FlowableObjectNotFoundException* when no comment exists with the given id.*/
void deleteComment(String commentId);/** The comments related to the given task. */
ListComment getTaskComments(String taskId);/** The comments related to the given task of the given type. */
ListComment getTaskComments(String taskId, String type);/** All comments of a given type. */
ListComment getCommentsByType(String type);/** The all events related to the given task. */
ListEvent getTaskEvents(String taskId);/*** Returns an individual event with the given id. Returns null if no event exists with the given id.*/
Event getEvent(String eventId);/** The comments related to the given process instance. */
ListComment getProcessInstanceComments(String processInstanceId);/** The comments related to the given process instance. */
ListComment getProcessInstanceComments(String processInstanceId, String type);(三真实应用