代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web.UI.WebControls;
|
||||
using Model;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public static class ProjectSateService
|
||||
{
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键获取项目状态及软件关闭信息
|
||||
|
||||
@@ -2,11 +2,9 @@
|
||||
{
|
||||
using Model;
|
||||
using Newtonsoft.Json;
|
||||
using NPOI.Util;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
public static class ProjectService
|
||||
{
|
||||
|
||||
@@ -261,7 +261,7 @@
|
||||
CompileManId = projectUnit.CompileManId,
|
||||
CompileDate = projectUnit.CompileDate,
|
||||
};
|
||||
|
||||
|
||||
db.Project_ProjectUnitItem.InsertOnSubmit(newProjectUnit);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
@@ -16,12 +16,12 @@ namespace BLL
|
||||
if (q.Count() == 0)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
return q.First().SetValue;
|
||||
}
|
||||
public static string GetAvevaNetUrl_Item(string projectId)
|
||||
{
|
||||
string url="";
|
||||
string url = "";
|
||||
var q = from x in Funs.DB.Project_Sys_Set where x.SetId == "9" && x.ProjectId == projectId select x;
|
||||
if (q.Count() == 0)
|
||||
{
|
||||
@@ -34,12 +34,12 @@ namespace BLL
|
||||
string value = collection["portalid"];
|
||||
url = q.First().SetValue + "item/" + value + "%7C";
|
||||
}
|
||||
catch (Exception ex )
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
url = "";
|
||||
}
|
||||
|
||||
|
||||
return url;
|
||||
}
|
||||
public static Model.ColorModel GetColorModel(string projectId)
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public static class TeamGroupService
|
||||
{
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键获取班组信息
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BLL
|
||||
{
|
||||
public class UnitWorkService
|
||||
{
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 添加单位工程信息
|
||||
@@ -548,7 +548,7 @@ namespace BLL
|
||||
public static string GetUnitWorkName(object unitWorkIds)
|
||||
{
|
||||
string unitWorkName = string.Empty;
|
||||
if (unitWorkIds!=null&&!string.IsNullOrEmpty(unitWorkIds.ToString()))
|
||||
if (unitWorkIds != null && !string.IsNullOrEmpty(unitWorkIds.ToString()))
|
||||
{
|
||||
string[] strs = unitWorkIds.ToString().Split(',');
|
||||
foreach (var item in strs)
|
||||
@@ -670,7 +670,7 @@ namespace BLL
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取主项及设计专业名称
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user