|
@@ -28807,6 +28807,33 @@ WHERE
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 团组总览进程 - 团组名称集合
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ /// <returns></returns>
|
|
|
|
|
+ [HttpGet]
|
|
|
|
|
+ [ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)]
|
|
|
|
|
+ public async Task<IActionResult> GroupProcessGroupNames()
|
|
|
|
|
+ {
|
|
|
|
|
+ var groupNames = await _sqlSugar.Queryable<Grp_DelegationInfo>()
|
|
|
|
|
+ .Where(x => x.IsDel == 0)
|
|
|
|
|
+ .OrderByDescending(x => x.VisitDate)
|
|
|
|
|
+ .Select(x => new
|
|
|
|
|
+ {
|
|
|
|
|
+ x.Id,
|
|
|
|
|
+ GroupName = x.TeamName,
|
|
|
|
|
+ HasProcess = SqlFunc.Subqueryable<Grp_ProcessOverview>()
|
|
|
|
|
+ .Where(po => po.GroupId == x.Id && po.IsDel == 0)
|
|
|
|
|
+ .Any()
|
|
|
|
|
+ })
|
|
|
|
|
+ .ToListAsync();
|
|
|
|
|
+
|
|
|
|
|
+ return Ok(JsonView(groupNames));
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// 团组总览进程 - 流程详情
|
|
/// 团组总览进程 - 流程详情
|
|
|
/// </summary>
|
|
/// </summary>
|