新增汇总指定任务接口/queryTaskIndex
This commit is contained in:
@@ -1775,6 +1775,24 @@ public class TodoTaskController extends BaseAction {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询第index步
|
||||||
|
* @param bpnId
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@ApiOperation(value = "查询index步")
|
||||||
|
@GetMapping("/queryTaskIndex")
|
||||||
|
public BusProcessName queryTaskIndex(String bpnId,Integer index) {
|
||||||
|
QueryWrapper<BusProcessName> queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.eq("ID", bpnId);
|
||||||
|
List<BusProcessName> list = iBusProcessNameService.list(queryWrapper);
|
||||||
|
if (list.size() >= index) {
|
||||||
|
return list.get(index);
|
||||||
|
} else {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询草稿
|
* 查询草稿
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user