|
@@ -92,7 +92,7 @@ namespace GxPress.Service.Implement
|
|
|
|
|
|
public async Task<ListResult> ListCcUnreadAsync(int userId, FlowListRequest request)
|
|
|
{
|
|
|
- var todoIdFlowIdList = await _flowTodoRepository.GetTodoIdFlowIdListAsync(userId, nameof(TodoTypeConst.CarbonCopy), request,false);
|
|
|
+ var todoIdFlowIdList = await _flowTodoRepository.GetTodoIdFlowIdListAsync(userId, nameof(TodoTypeConst.CarbonCopy), request, false);
|
|
|
var items = new List<FlowListResult>();
|
|
|
foreach (var todoIdFlowId in todoIdFlowIdList)
|
|
|
{
|
|
@@ -105,14 +105,14 @@ namespace GxPress.Service.Implement
|
|
|
|
|
|
return new ListResult
|
|
|
{
|
|
|
- Count = await _flowTodoRepository.GetReadCountAsync(userId, nameof(TodoTypeConst.CarbonCopy), request,false),
|
|
|
+ Count = await _flowTodoRepository.GetReadCountAsync(userId, nameof(TodoTypeConst.CarbonCopy), request, false),
|
|
|
Items = items
|
|
|
};
|
|
|
}
|
|
|
|
|
|
public async Task<ListResult> ListCcAllAsync(int userId, FlowListRequest request, string source = "")
|
|
|
{
|
|
|
- var todoIdFlowIdList = await _flowTodoRepository.GetTodoIdFlowIdListAsync(userId, nameof(TodoTypeConst.CarbonCopy), request,true);
|
|
|
+ var todoIdFlowIdList = await _flowTodoRepository.GetTodoIdFlowIdListAsync(userId, nameof(TodoTypeConst.CarbonCopy), request, true);
|
|
|
var items = new List<FlowListResult>();
|
|
|
foreach (var todoIdFlowId in todoIdFlowIdList)
|
|
|
{
|
|
@@ -125,7 +125,7 @@ namespace GxPress.Service.Implement
|
|
|
|
|
|
return new ListResult
|
|
|
{
|
|
|
- Count = await _flowTodoRepository.GetReadCountAsync(userId, nameof(TodoTypeConst.CarbonCopy), request,true),
|
|
|
+ Count = await _flowTodoRepository.GetReadCountAsync(userId, nameof(TodoTypeConst.CarbonCopy), request, true),
|
|
|
Items = items
|
|
|
};
|
|
|
}
|
|
@@ -166,7 +166,7 @@ namespace GxPress.Service.Implement
|
|
|
var tode = await _flowTodoRepository.GetAsync(todoId);
|
|
|
var result = new FlowListResult
|
|
|
{
|
|
|
- Id = flow.Id,
|
|
|
+ Id = todoId,
|
|
|
TodoId = todoId,
|
|
|
ProcessId = flow.ProcessId,
|
|
|
UserId = flow.UserId,
|