代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
using BLL;
|
||||
using Model;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Org.BouncyCastle.Asn1.Ocsp;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
@@ -468,7 +466,7 @@ namespace FineUIPro.Web.ZHGL.Environmental
|
||||
var model = new Environmental_EnergyReportItem
|
||||
{
|
||||
EnergyReportItemId = SQLHelper.GetNewID(typeof(Model.Environmental_EnergyReportItem)),
|
||||
BusinessCategory = getLenthSpace(indexName.SortIndex) +isthisUnit.UnitName,
|
||||
BusinessCategory = getLenthSpace(indexName.SortIndex) + isthisUnit.UnitName,
|
||||
SortIndex = item.SortIndex,
|
||||
SortUnit = 2,
|
||||
};
|
||||
@@ -481,7 +479,7 @@ namespace FineUIPro.Web.ZHGL.Environmental
|
||||
model = new Environmental_EnergyReportItem
|
||||
{
|
||||
EnergyReportItemId = SQLHelper.GetNewID(typeof(Model.Environmental_EnergyReportItem)),
|
||||
BusinessCategory = getLenthSpace(indexName.SortIndex) +unitItem.UnitName,
|
||||
BusinessCategory = getLenthSpace(indexName.SortIndex) + unitItem.UnitName,
|
||||
SortIndex = item.SortIndex,
|
||||
SortUnit = j,
|
||||
};
|
||||
@@ -654,16 +652,18 @@ namespace FineUIPro.Web.ZHGL.Environmental
|
||||
#endregion
|
||||
|
||||
#region 取具体数量的空格
|
||||
private string getLenthSpace(string SortIndex) {
|
||||
private string getLenthSpace(string SortIndex)
|
||||
{
|
||||
string returnVal = "";
|
||||
if (SortIndex == "02" || SortIndex == "16" || SortIndex == "44")
|
||||
{
|
||||
returnVal += "A";
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
returnVal += "B";
|
||||
}
|
||||
|
||||
|
||||
return returnVal;
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user