代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
using FineUIPro;
|
||||
using Model;
|
||||
using NPOI.SS.Formula.Functions;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
|
||||
namespace BLL
|
||||
@@ -28,7 +24,7 @@ namespace BLL
|
||||
/// 定义变量
|
||||
/// </summary>
|
||||
private static IQueryable<Model.License_LicenseManager> getDataLists = from x in Funs.DB.License_LicenseManager
|
||||
select x;
|
||||
select x;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
@@ -47,7 +43,7 @@ namespace BLL
|
||||
/// <param name="unitId"></param>
|
||||
/// <param name="Grid1"></param>
|
||||
/// <returns></returns>
|
||||
public static IEnumerable getListData(string projectId, string unitId, DateTime? startTime, DateTime? endTime, string licenseType, string unitId2, Grid Grid1)
|
||||
public static IEnumerable getListData(string projectId, string unitId, DateTime? startTime, DateTime? endTime, string licenseType, string unitId2, Grid Grid1)
|
||||
{
|
||||
IQueryable<Model.License_LicenseManager> getDataList = getDataLists;
|
||||
if (!string.IsNullOrEmpty(projectId))
|
||||
@@ -69,11 +65,11 @@ namespace BLL
|
||||
if (!string.IsNullOrEmpty(licenseType))
|
||||
{
|
||||
getDataList = getDataList.Where(e => e.LicenseTypeId == licenseType);
|
||||
}
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(unitId2) && unitId2 != Const._Null)
|
||||
{
|
||||
getDataList = getDataList.Where(e => e.UnitId == unitId2 );
|
||||
getDataList = getDataList.Where(e => e.UnitId == unitId2);
|
||||
}
|
||||
|
||||
|
||||
@@ -99,7 +95,7 @@ namespace BLL
|
||||
};
|
||||
}
|
||||
|
||||
public static string getFlow(string id,string states)
|
||||
public static string getFlow(string id, string states)
|
||||
{
|
||||
string strrValue = string.Empty;
|
||||
string name = string.Empty;
|
||||
@@ -120,7 +116,8 @@ namespace BLL
|
||||
else if (states == BLL.Const.State_1)
|
||||
{
|
||||
strrValue = "审核/审批完成";
|
||||
} else
|
||||
}
|
||||
else
|
||||
{
|
||||
strrValue = "待[" + name + "]办理";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user