|
|
|
@ -30,7 +30,7 @@ public class ClientFlowInstanceController : ApiController
|
|
|
|
|
/// <param name="bsType">业务类型(可空)</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet, Route("IsLastMarker")]
|
|
|
|
|
public DataResult<bool> IsLastMarker([FromQuery]TaskBaseTypeEnum taskType, [FromQuery] long bsId, [FromQuery] BusinessType? bsType)
|
|
|
|
|
public DataResult<bool> IsLastMarker([FromQuery] TaskBaseTypeEnum taskType, [FromQuery] long bsId, [FromQuery] BusinessType? bsType)
|
|
|
|
|
{
|
|
|
|
|
return _invokeService.IsLastMarker(taskType, bsId, bsType);
|
|
|
|
|
}
|
|
|
|
@ -118,14 +118,25 @@ public class ClientFlowInstanceController : ApiController
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="id"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet]
|
|
|
|
|
[Route("GetFlowInstanceHistoryList")]
|
|
|
|
|
[HttpGet, Route("GetFlowInstanceHistoryList"), Obsolete]
|
|
|
|
|
public DataResult<List<FlowInstanceHistoryRes>> GetFlowInstanceHistoryList([FromQuery] string id)
|
|
|
|
|
{
|
|
|
|
|
var res = _invokeService.GetFlowInstanceHistoryList(id);
|
|
|
|
|
return res;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 根据业务获取流程操作历史
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="bsId">业务ID</param>
|
|
|
|
|
/// <param name="bsType">业务类型(可空)</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet, Route("GetFlowHistoriesByBiz")]
|
|
|
|
|
public DataResult<List<FlowInstanceHistoryRes>> GetFlowInstanceHistoryList([FromQuery] long bsId, [FromQuery] BusinessType? bsType)
|
|
|
|
|
{
|
|
|
|
|
return _invokeService.GetFlowInstanceHistoryList(bsId, bsType);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运行回调更新
|
|
|
|
|
/// </summary>
|
|
|
|
|