关键事项补充最新进展

This commit is contained in:
2025-11-11 09:17:53 +08:00
parent ed8a10f5bf
commit aff5d8e4d1
3 changed files with 15 additions and 11 deletions
@@ -71,6 +71,7 @@ namespace FineUIPro.Web.PZHGL.GJSX
,GJSXTypeName = STUFF((SELECT ',' + Base_GJSXType.GJSXTypeName FROM dbo.Base_GJSXType where PATINDEX('%,' + RTRIM(Base_GJSXType.GJSXTypeID) + ',%', ',' + a.GJSXTypeID + ',') > 0 FOR XML PATH('')), 1, 1,'')
,a.IsManypeople,a.CompleteDate,a.AttachUrl
,user_Acceptance = STUFF((SELECT ',' + p2.UserName FROM dbo.Sys_User as p2 where PATINDEX('%,' + RTRIM(p2.UserId) + ',%', ',' + a.user_Acceptance + ',') > 0 FOR XML PATH('')), 1, 1,'')
,(select top 1 ProgressStatus+''+Progress_detail from GJSX_detail where GJSXID=a.GJSXID order by Date desc) as LastProgress
from GJSX as a
left join Sys_User as b on a.UserId = b.UserId
left join[dbo].[Base_Project] on a.ProjectId = Base_Project.ProjectId