This commit is contained in:
parent
72ca366f7e
commit
e863a39cde
|
@ -300,22 +300,41 @@ and (pu.RoleId like '%22F78A47-F59C-4FE8-9C43-2DD304CB2108%' or pu.RoleId like '
|
|||
--or (DATEADD(day,60,(select top 1 EndDate from JDGL_QuantityCompletion WHERE ProjectId=@projectId order by EndDate desc))<GETDATE())
|
||||
)
|
||||
UNION ALL
|
||||
SELECT MonthPlan.MonthPlanId AS DataId
|
||||
SELECT DISTINCT --MonthPlan.MonthPlanId AS DataId
|
||||
'' AS DataId
|
||||
,'94287B92-7E96-4B90-BC6F-DAF30AE3B314' AS MenuId
|
||||
,'月度计划尚未完成' AS MenuName
|
||||
,'进度管理,月度计划尚未完成' AS MenuName
|
||||
,'' AS Content
|
||||
,users.UserId
|
||||
,users.UserName
|
||||
,GETDATE() AS DataTime
|
||||
,CONVERT(varchar(100),GETDATE(), 23) AS DataTimeStr
|
||||
,'../JDGL/Check/MonthPlanEdit.aspx?ToDo=ToDo' AS PCUrl
|
||||
,'../JDGL/Check/MonthPlanEditNew.aspx?ToDo=ToDo&Months='+CONVERT(varchar(100),Months, 23) AS PCUrl
|
||||
FROM JDGL_MonthPlan AS MonthPlan
|
||||
LEFT JOIN Sys_User AS users ON users.UserId =@userId
|
||||
LEFT JOIN Project_ProjectUser as pu on pu.UserId=@userId
|
||||
WHERE MonthPlan.ProjectId=@projectId
|
||||
and MonthPlan.DutyPerson=@userId and MonthPlan.RealDate is null and DATENAME(DAY,GETDATE())>=22 and
|
||||
and MonthPlan.DutyPerson like '%'+@userId+'%' and MonthPlan.RealDate is null and DATENAME(DAY,GETDATE())>=22 and
|
||||
DATENAME(year,GETDATE())=DATENAME(year,MonthPlan.PlanDate) and DATENAME(MONTH,GETDATE())=DATENAME(MONTH,MonthPlan.PlanDate)
|
||||
|
||||
UNION ALL
|
||||
SELECT DISTINCT --WeekPlan.WeekPlanId AS DataId
|
||||
'' AS DataId
|
||||
,'56A54B4B-BBA3-4249-9FFC-3A60DAC79059' AS MenuId
|
||||
,'进度管理,周进度计划尚未完成' AS MenuName
|
||||
,'' AS Content
|
||||
,users.UserId
|
||||
,users.UserName
|
||||
,GETDATE() AS DataTime
|
||||
,CONVERT(varchar(100),GETDATE(), 23) AS DataTimeStr
|
||||
,'../JDGL/Check/WeekPlanEdit.aspx?ToDo=ToDo&WeekNo='+WeekPlan.WeekNo AS PCUrl
|
||||
FROM JDGL_WeekPlan AS WeekPlan
|
||||
LEFT JOIN Sys_User AS users ON users.UserId =@userId
|
||||
LEFT JOIN Project_ProjectUser as pu on pu.UserId=@userId
|
||||
WHERE WeekPlan.ProjectId=@projectId
|
||||
and WeekPlan.DutyPerson like '%'+@userId+'%' and WeekPlan.IsOK =0 and DATENAME(DAY,GETDATE())<=DATENAME(DAY,WeekPlan.EndDate)
|
||||
and DATENAME(year,GETDATE())=DATENAME(year,WeekPlan.EndDate) and DATENAME(MONTH,GETDATE())=DATENAME(MONTH,WeekPlan.EndDate)
|
||||
|
||||
|
||||
ORDER BY DataTime DESC
|
||||
END
|
||||
|
|
|
@ -2405,6 +2405,7 @@
|
|||
<Content Include="File\Excel\DataIn\ProjectSetup导入模板.xls" />
|
||||
<Content Include="File\Word\HSSE\环境监测数据接口.docx" />
|
||||
<Content Include="libman.json" />
|
||||
<Content Include="File\Excel\DataOut\关键事项.xlsx" />
|
||||
<None Include="packages.config" />
|
||||
<Content Include="ReportPrint\ReportTabFile\分包商上传周报.tab" />
|
||||
<Content Include="ReportPrint\ReportTabFile\HSSE日志暨管理数据收集.tab" />
|
||||
|
@ -19772,7 +19773,7 @@
|
|||
</FlavorProperties>
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v15.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
|
|
|
@ -52793,7 +52793,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_WorkCode", DbType="VarChar(20)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_WorkCode", DbType="NVarChar(100)")]
|
||||
public string WED_WorkCode
|
||||
{
|
||||
get
|
||||
|
|
Loading…
Reference in New Issue