添加图斑数

Insight
陈伟 2024-11-18 15:24:53 +08:00
parent e6c6201e06
commit 7f9dcd3582
2 changed files with 6 additions and 0 deletions

View File

@ -45,11 +45,13 @@ public class PersonTaskApp : SqlSugarBaseApp<InsTask, SugarDbContext>
.Where((a, b) => userIds.Contains(b.ReciveUserId))
.Select((a, b) => new InsTaskExtend
{
RowNumber = SqlSugar.SqlFunc.RowNumber(b.Id),
TaskName = a.TaskName, // 任务名称
GroupName = b.GroupName, // 任务分组包
Sort = b.Sort, // 序号
BeginNum = b.BeginNum,
EndNum = b.EndNum,
TubanNum = b.EndNum - b.BeginNum + 1,
TaskId = b.TaskId,
CreateTime = a.CreateTime, // 创建时间
ReciveTime = b.ReciveTime, // 接收时间

View File

@ -42,8 +42,12 @@ public class InsTaskExtend : InsTaskgroup
/// </summary>
/// <returns></returns>
public List<string> PrePhaseList { get; set; }
/// <summary>
/// 后时相
/// </summary>
public List<string> NextPhaseList { get; set; }
public int TubanNum { get; set; }
public int RowNumber { get; set; }
}