|
|
@@ -47,9 +47,9 @@ public class FlowHelper { |
|
|
|
" where r.trl_dst_task_id=? and t.tsk_handler=?", task_id, user_id); |
|
|
|
} |
|
|
|
|
|
|
|
public static void stopTask(long billId) { |
|
|
|
public static void stopTask(long billId, long tskId) { |
|
|
|
DbEngine.getInstance().update("update " + EntityHelper.getSchemaTableName(Task.ENTITY_NAME) + |
|
|
|
" set tsk_statu=? where tsk_pri_id=? and tsk_statu<?", FlowConst.ActivityStatu.STOP.value, billId, FlowConst.ActivityStatu.SUBMIT.value); |
|
|
|
" set tsk_statu=? where tsk_pri_id=? and tsk_id<>? and tsk_statu<?", FlowConst.ActivityStatu.STOP.value, billId,tskId, FlowConst.ActivityStatu.SUBMIT.value); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|