This commit is contained in:
李鹏飞 2024-01-10 19:41:22 +08:00
commit 835b75114e
7 changed files with 28 additions and 15 deletions

View File

@ -231,6 +231,19 @@
return list;
}
/// <summary>
/// 获取施工中项目集合
/// </summary>
/// <returns></returns>
public static List<Model.Base_Project> GetCNCECShowProjectList()
{
var list = (from x in Funs.DB.Base_Project
where x.IsCNCECShow == true
orderby x.ProjectCode descending
select x).ToList();
return list;
}
/// <summary>
/// 获取项目下拉选项
/// </summary>

View File

@ -321,7 +321,7 @@ namespace BLL
}
public static void StatisticalAllProjectData()
{
var projectlist = ProjectService.GetProjectWorkList();
var projectlist = ProjectService.GetCNCECShowProjectList();
foreach (var item in projectlist)
{
StatisticalData(item.ProjectId, CQMSDateType.All);

View File

@ -204,7 +204,7 @@ namespace BLL
/// </summary>
public static void StatisticalAllProjectData()
{
var projectlist = ProjectService.GetProjectWorkList();
var projectlist = ProjectService.GetCNCECShowProjectList();
foreach (var item in projectlist)
{
StatisticalData(item.ProjectId);

View File

@ -223,7 +223,7 @@ namespace BLL
/// </summary>
public static void StatisticalAllProjectData()
{
var projectlist = ProjectService.GetProjectWorkList();
var projectlist = ProjectService.GetCNCECShowProjectList();
foreach (var item in projectlist)
{
StatisticalData(item.ProjectId, HJGLDateType.All);

View File

@ -371,7 +371,7 @@ namespace BLL
/// </summary>
public static void StatisticalAllProjectData()
{
var projectlist = ProjectService.GetProjectWorkList();
var projectlist = ProjectService.GetCNCECShowProjectList();
foreach (var item in projectlist) StatisticalData(item.ProjectId, HSSEDateType.All);
}

View File

@ -227,7 +227,7 @@ namespace BLL
{
var db = Funs.DB;
var projectids = ProjectService.GetProjectWorkList().Select(x => x.ProjectId).ToList();
var projectids = ProjectService.GetCNCECShowProjectList().Select(x => x.ProjectId).ToList();
var thisUnitId = string.Empty;
var thisUnit = CommonService.GetIsThisUnit();
if (thisUnit != null)

View File

@ -284,7 +284,7 @@ namespace BLL
/// </summary>
public static void StatisticalAllProjectData()
{
var projectlist = ProjectService.GetProjectWorkList();
var projectlist = ProjectService.GetCNCECShowProjectList();
foreach (var item in projectlist)
{
StatisticalData(item.ProjectId, SYHSESDateType.All);