代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -8,7 +8,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public class Check_CheckColligationDetailService
|
||||
{
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据综合检查id获取所有相关明细信息
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public class Check_CheckSpecialDetailService
|
||||
{
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据专项检查id获取所有相关明细信息
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
using FineUIPro;
|
||||
using NPOI.SS.Formula.Functions;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Model;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
@@ -27,7 +25,7 @@ namespace BLL
|
||||
/// 定义变量
|
||||
/// </summary>
|
||||
private static IQueryable<Model.Check_CheckSpecial> getDataLists = from x in Funs.DB.Check_CheckSpecial
|
||||
select x;
|
||||
select x;
|
||||
|
||||
/// <summary>
|
||||
/// 列表
|
||||
@@ -61,13 +59,13 @@ namespace BLL
|
||||
}
|
||||
else
|
||||
{
|
||||
getDataList = getDataList.Where(e => e.CheckType == checkType || e.CheckType == null );
|
||||
}
|
||||
getDataList = getDataList.Where(e => e.CheckType == checkType || e.CheckType == null);
|
||||
}
|
||||
}
|
||||
if (!string.IsNullOrEmpty(checkItemSetId) && checkItemSetId != Const._Null)
|
||||
{
|
||||
getDataList = getDataList.Where(e => e.CheckItemSetId == checkItemSetId);
|
||||
}
|
||||
}
|
||||
if (startTime.HasValue)
|
||||
{
|
||||
getDataList = getDataList.Where(e => e.CheckTime >= startTime);
|
||||
@@ -75,7 +73,7 @@ namespace BLL
|
||||
if (endTime.HasValue)
|
||||
{
|
||||
getDataList = getDataList.Where(e => e.CheckTime <= endTime);
|
||||
}
|
||||
}
|
||||
|
||||
count = getDataList.Count();
|
||||
if (count == 0)
|
||||
@@ -89,7 +87,7 @@ namespace BLL
|
||||
x.CheckSpecialId,
|
||||
x.CheckTime,
|
||||
x.CheckSpecialCode,
|
||||
CheckItemName =Funs.DB.Technique_CheckItemSet .First(y=>y.CheckItemSetId ==x. CheckItemSetId).CheckItemName,
|
||||
CheckItemName = Funs.DB.Technique_CheckItemSet.First(y => y.CheckItemSetId == x.CheckItemSetId).CheckItemName,
|
||||
CheckTypeName = x.CheckType == "1" ? "联合检查" : "专项检查",
|
||||
StatesName = x.States == "2" ? "已完成" : (x.States == "1" ? "待整改" : "待提交"),
|
||||
};
|
||||
|
||||
@@ -3,8 +3,6 @@ using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web.UI.WebControls;
|
||||
using Model;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
@@ -76,8 +74,8 @@ namespace BLL
|
||||
getDataList = SortConditionHelper.SortingAndPaging(getDataList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize);
|
||||
var db1 = Funs.DB;
|
||||
return from x in getDataList
|
||||
join y in db1.Base_Project on x.ProjectId equals y.ProjectId
|
||||
into ps
|
||||
join y in db1.Base_Project on x.ProjectId equals y.ProjectId
|
||||
into ps
|
||||
from y in ps.DefaultIfEmpty()
|
||||
select new
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public static class IncentiveNoticeService
|
||||
{
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键获取奖励通知单
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public static class PunishNoticeService
|
||||
{
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键获取处罚通知单
|
||||
|
||||
Reference in New Issue
Block a user