diff --git a/DataBase/版本日志/SGGLDB_V2023-11-09.sql b/DataBase/版本日志/SGGLDB_V2023-11-09.sql
new file mode 100644
index 00000000..5aa119bb
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_V2023-11-09.sql
@@ -0,0 +1,30 @@
+
+ALTER VIEW [dbo].[View_WBS]
+AS
+select '1' as Id,'0' as SupId ,'JZ' as Code, '' as Name,'ProjectType' as WBSType,null as PlanStartDate,null as PlanEndDate,null as RealEndDate,null as WBSCode,JDWeights,null as Unit,null as PlanProjectQuantity,null as RealProjectQuantity,null as RealStartDate,null as IsMileStone,PlanCost,null as PreWorkCode,'' as ShowId,
+ProjectId from dbo.WBS_UnitWork
+Union
+select '2' as Id,'0' as SupId ,'AZ' as Code, 'װ' as Name,'ProjectType' as WBSType,null as PlanStartDate,null as PlanEndDate,null as RealEndDate,null as WBSCode,JDWeights,null as Unit,null as PlanProjectQuantity,null as RealProjectQuantity,null as RealStartDate,null as IsMileStone,PlanCost,null as PreWorkCode,'' as ShowId,
+ProjectId from dbo.WBS_UnitWork
+Union
+select UnitWorkId as Id,ProjectType as SupId ,UnitWorkCode as Code, UnitWorkName as Name,'UnitWork' as WBSType,PlanStartDate, PlanEndDate,RealEndDate,WBSCode,JDWeights,null as Unit,null as PlanProjectQuantity,null as RealProjectQuantity,RealStartDate,null as IsMileStone,PlanCost,null as PreWorkCode,'' as ShowId,
+ProjectId from dbo.WBS_UnitWork
+Union all
+select WorkPackageId as id,UnitWorkId as SupId,WorkPackageCode as Code,PackageContent as Name,'WorkPackage' as WBSType,PlanStartDate, PlanEndDate,RealEndDate,WBSCode,JDWeights,Unit,PlanProjectQuantity,RealProjectQuantity,RealStartDate,IsMileStone,PlanCost,PreWorkCode,case when (select COUNT(*) from WBS_WorkPackage a where a.SuperWorkPackageId=w.WorkPackageId and a.IsApprove=1)=0 then WorkPackageId else '' end as ShowId,
+ProjectId from dbo.WBS_WorkPackage w where IsApprove=1 and SuperWorkPackageId is null
+Union all
+select WorkPackageId as id,SuperWorkPackageId as SupId,WorkPackageCode as Code, PackageContent as Name,'WorkPackage' as WBSType,PlanStartDate, PlanEndDate,RealEndDate,WBSCode,JDWeights,Unit,PlanProjectQuantity,RealProjectQuantity,RealStartDate,IsMileStone,PlanCost,PreWorkCode,case when (select COUNT(*) from WBS_WorkPackage a where a.SuperWorkPackageId=w.WorkPackageId and a.IsApprove=1)=0 then WorkPackageId else '' end as ShowId,
+ProjectId from dbo.WBS_WorkPackage w where IsApprove=1 and SuperWorkPackageId is not null
+
+
+
+
+
+
+
+
+
+
+GO
+
+
diff --git a/SGGL/BLL/CQMS/WBS/WorkPackageService.cs b/SGGL/BLL/CQMS/WBS/WorkPackageService.cs
index 01bd6402..fd000c2f 100644
--- a/SGGL/BLL/CQMS/WBS/WorkPackageService.cs
+++ b/SGGL/BLL/CQMS/WBS/WorkPackageService.cs
@@ -245,7 +245,7 @@ namespace BLL
/// 获取模拟树表格
///
///
- public static DataTable GetAllTreeDataTable(string projectId, string IsOut, string startTime, string endTime, string isOK)
+ public static DataTable GetAllTreeDataTable0(string projectId, string IsOut, string startTime, string endTime, string isOK)
{
using (var db = new Model.SGGLDB(Funs.ConnString))
{
@@ -292,11 +292,6 @@ namespace BLL
table.Columns.Add(new DataColumn("PlanCost", typeof(String)));
table.Columns.Add(new DataColumn("PreWorkCode", typeof(String)));
table.Columns.Add(new DataColumn("Code", typeof(String)));
- for (int i = 0; i < months.Count; i++)
- {
- table.Columns.Add(new DataColumn("PlanNum" + (i + 1).ToString(), typeof(String)));
- table.Columns.Add(new DataColumn("ThisNum" + (i + 1).ToString(), typeof(String)));
- }
if (getWBSs.Count() > 0)
{
List newList = new List();
@@ -372,19 +367,6 @@ namespace BLL
row[15] = decimal.Round(Convert.ToDecimal(workPackage.PlanCost), 2);
}
row[16] = workPackage.PreWorkCode;
- var details = getDetails.Where(x => x.WorkPackageId == item.Id).ToList();
- foreach (var item1 in details)
- {
- var index = months.FindIndex(x => x.Equals(item1.Months));
- if (item1.PlanNum != 0)
- {
- row[18 + index * 2] = decimal.Round(Convert.ToDecimal(item1.PlanNum), 2);
- }
- if (item1.ThisNum != 0)
- {
- row[19 + index * 2] = decimal.Round(Convert.ToDecimal(item1.ThisNum), 2);
- }
- }
}
else
{
@@ -454,6 +436,168 @@ namespace BLL
}
}
+ public static List GetAllTreeDataTable2(string projectId, string IsOut, string startTime, string endTime, string isOK)
+ {
+ using (var db = new Model.SGGLDB(Funs.ConnString))
+ {
+ List getWBSs = (from x in db.View_WBS where x.ProjectId == projectId select x).ToList();
+ List newList = new List();
+ if (getWBSs.Count() > 0)
+ {
+
+ var projectTypes = getWBSs.Where(x => x.WBSType == "ProjectType" && x.SupId == "0");
+ int a = 1;
+ foreach (var item in projectTypes)
+ {
+ item.Code = a.ToString();
+ newList.Add(item);
+ if (string.IsNullOrEmpty(IsOut))
+ {
+ AddDetail(newList, getWBSs.ToList(), item.Id, a.ToString(), startTime, endTime, isOK);
+ }
+ else
+ {
+ AddDetail(newList, getWBSs.ToList(), item.Id, a.ToString(), string.Empty, startTime, endTime, isOK);
+ }
+ a++;
+ }
+ }
+ return newList;
+ }
+ }
+
+ ///
+ /// 获取模拟树表格
+ ///
+ ///
+ public static DataTable GetAllTreeDataTable(string projectId, string IsOut, string startTime, string endTime, string isOK)
+ {
+ using (var db = new Model.SGGLDB(Funs.ConnString))
+ {
+ IQueryable getDetails = from x in db.View_WBS_WorkPackageDetail where x.ProjectId == projectId select x;
+ List getWBSs = (from x in db.View_WBS where x.ProjectId == projectId select x).ToList();
+ DateTime startDate, endDate, startMonth, endMonth;
+ List months = new List();
+ var project = Funs.DB.Base_Project.FirstOrDefault(x => x.ProjectId == projectId);
+ if (project.StartDate != null)
+ {
+ startDate = Convert.ToDateTime(project.StartDate);
+ endDate = DateTime.Now;
+ if (project.EndDate != null)
+ {
+ endDate = Convert.ToDateTime(project.EndDate);
+ }
+ startMonth = Convert.ToDateTime(startDate.Year + "-" + startDate.Month + "-01");
+ endMonth = Convert.ToDateTime(endDate.Year + "-" + endDate.Month + "-01");
+ do
+ {
+ months.Add(startMonth);
+ startMonth = startMonth.AddMonths(1);
+ } while (startMonth <= endMonth);
+ }
+ DataTable table = new DataTable();
+ table.Columns.Add(new DataColumn("Id", typeof(String)));
+ table.Columns.Add(new DataColumn("SupId", typeof(String)));
+ table.Columns.Add(new DataColumn("Name", typeof(String)));
+ table.Columns.Add(new DataColumn("WBSType", typeof(String)));
+ table.Columns.Add(new DataColumn("ProjectId", typeof(String)));
+ table.Columns.Add(new DataColumn("ShowId", typeof(String)));
+ table.Columns.Add(new DataColumn("JDWeights", typeof(String)));
+ table.Columns.Add(new DataColumn("Unit", typeof(String)));
+ table.Columns.Add(new DataColumn("PlanProjectQuantity", typeof(String)));
+ table.Columns.Add(new DataColumn("RealProjectQuantity", typeof(String)));
+ table.Columns.Add(new DataColumn("PlanStartDate", typeof(DateTime)));
+ table.Columns.Add(new DataColumn("PlanEndDate", typeof(DateTime)));
+ table.Columns.Add(new DataColumn("RealStartDate", typeof(DateTime)));
+ table.Columns.Add(new DataColumn("RealEndDate", typeof(DateTime)));
+ table.Columns.Add(new DataColumn("IsMileStone", typeof(bool)));
+ table.Columns.Add(new DataColumn("PlanCost", typeof(String)));
+ table.Columns.Add(new DataColumn("PreWorkCode", typeof(String)));
+ table.Columns.Add(new DataColumn("Code", typeof(String)));
+ for (int i = 0; i < months.Count; i++)
+ {
+ table.Columns.Add(new DataColumn("PlanNum" + (i + 1).ToString(), typeof(String)));
+ table.Columns.Add(new DataColumn("ThisNum" + (i + 1).ToString(), typeof(String)));
+ }
+ if (getWBSs.Count() > 0)
+ {
+ List newList = new List();
+ var projectTypes = getWBSs.Where(x => x.WBSType == "ProjectType" && x.SupId == "0");
+ int a = 1;
+ foreach (var item in projectTypes)
+ {
+ item.Code = a.ToString();
+ newList.Add(item);
+ if (string.IsNullOrEmpty(IsOut))
+ {
+ AddDetail(newList, getWBSs.ToList(), item.Id, a.ToString(), startTime, endTime, isOK);
+ }
+ else
+ {
+ AddDetail(newList, getWBSs.ToList(), item.Id, a.ToString(), string.Empty, startTime, endTime, isOK);
+ }
+ a++;
+ }
+ DataRow row;
+ foreach (Model.View_WBS item in newList)
+ {
+ row = table.NewRow();
+ row[0] = item.Id;
+ row[1] = item.SupId;
+ row[2] = item.Name;
+ row[3] = item.WBSType;
+ row[4] = item.ProjectId;
+ row[5] = item.ShowId;
+ row[6] = item.JDWeights;
+ row[7] = item.Unit;
+ row[8] = item.PlanProjectQuantity;
+ row[9] = item.RealProjectQuantity;
+ if (item.PlanStartDate != null)
+ {
+ row[10] = item.PlanStartDate;
+ }
+ if (item.PlanEndDate != null)
+ {
+ row[11] = item.PlanEndDate;
+ }
+ if (item.RealStartDate != null)
+ {
+ row[12] = item.RealStartDate;
+ }
+ if (item.RealEndDate != null)
+ {
+ row[13] = item.RealEndDate;
+ }
+ if (item.IsMileStone != null)
+ {
+ row[14] = item.IsMileStone;
+ }
+ row[15] = item.PlanCost;
+ row[16] = item.PreWorkCode;
+ row[17] = item.Code;
+ if (!string.IsNullOrEmpty(item.ShowId))
+ {
+ var details = getDetails.Where(x => x.WorkPackageId == item.Id).ToList();
+ foreach (var item1 in details)
+ {
+ var index = months.FindIndex(x => x.Equals(item1.Months));
+ if (item1.PlanNum != 0)
+ {
+ row[18 + index * 2] = decimal.Round(Convert.ToDecimal(item1.PlanNum), 2);
+ }
+ if (item1.ThisNum != 0)
+ {
+ row[19 + index * 2] = decimal.Round(Convert.ToDecimal(item1.ThisNum), 2);
+ }
+ }
+ }
+ table.Rows.Add(row);
+ }
+ }
+ return table;
+ }
+ }
+
private static void AddDetail(List newList, List oldList, string id, string preCode, string startTime, string endTime, string isOK)
{
if (isOK == "0")
@@ -760,7 +904,7 @@ namespace BLL
public static string getWorkPageNamesByControlItemAndCycle(string workPackageId, string controlItemAndCycleId)
{
string returnValues = string.Empty;
- string ControlItemName=string.Empty;
+ string ControlItemName = string.Empty;
if (!string.IsNullOrEmpty(controlItemAndCycleId))
{
var getControlItemAndCycle = Funs.DB.WBS_ControlItemAndCycle.FirstOrDefault(x => x.ControlItemAndCycleId == controlItemAndCycleId);
@@ -802,7 +946,7 @@ namespace BLL
var getSupWorkPackage = Funs.DB.WBS_WorkPackage.FirstOrDefault(x => x.WorkPackageId == getWorkPackage.SuperWorkPackageId);
if (getSupWorkPackage != null)
{
- returnValues = getWorkPackage.PackageContent + "|" + returnValues;
+ returnValues = getWorkPackage.PackageContent + "|" + returnValues;
returnValues = getSelectIds(getWorkPackage.SuperWorkPackageId, returnValues);
}
@@ -820,7 +964,7 @@ namespace BLL
{
returnValues = "安装工程|" + getUnitWork.UnitWorkName + "|" + returnValues;
}
-
+
}
}
}
@@ -1093,7 +1237,7 @@ namespace BLL
}
}
- private static void AddDetail2(List newList, List oldList, string id, string preCode, DateTime startTime, DateTime endTime,List ids)
+ private static void AddDetail2(List newList, List oldList, string id, string preCode, DateTime startTime, DateTime endTime, List ids)
{
var items = oldList.Where(x => x.SupId == id && ((x.PlanEndDate > startTime && x.PlanEndDate <= endTime) || ids.Contains(x.Id))).OrderBy(x => x.Code);
int b = 1;
diff --git a/SGGL/FineUIPro.Web/JDGL/Check/CompleteInput.aspx b/SGGL/FineUIPro.Web/JDGL/Check/CompleteInput.aspx
index 8812e0f3..4b3f7180 100644
--- a/SGGL/FineUIPro.Web/JDGL/Check/CompleteInput.aspx
+++ b/SGGL/FineUIPro.Web/JDGL/Check/CompleteInput.aspx
@@ -30,7 +30,10 @@
-
+
+
diff --git a/SGGL/FineUIPro.Web/JDGL/Check/CompleteInput.aspx.cs b/SGGL/FineUIPro.Web/JDGL/Check/CompleteInput.aspx.cs
index 23ee103f..0680367e 100644
--- a/SGGL/FineUIPro.Web/JDGL/Check/CompleteInput.aspx.cs
+++ b/SGGL/FineUIPro.Web/JDGL/Check/CompleteInput.aspx.cs
@@ -132,31 +132,36 @@ namespace FineUIPro.Web.JDGL.Check
{
errorInfos = string.Empty;
string Id = Request.Params["Id"];
- DataTable table = BLL.WorkPackageService.GetAllTreeDataTable(this.CurrUser.LoginProjectId, string.Empty, null, null, "0");
- Grid1.DataSource = table;
- Grid1.DataBind();
- for (int i = 0; i < this.Grid1.Rows.Count; i++)
+
+ }
+ }
+
+ protected void btnShow_Click(object sender, EventArgs e)
+ {
+ DataTable table = BLL.WorkPackageService.GetAllTreeDataTable(this.CurrUser.LoginProjectId, string.Empty, null, null, "0");
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ for (int i = 0; i < this.Grid1.Rows.Count; i++)
+ {
+ if (string.IsNullOrEmpty(this.Grid1.Rows[i].DataKeys[2].ToString()))
{
- if (string.IsNullOrEmpty(this.Grid1.Rows[i].DataKeys[2].ToString()))
+ System.Web.UI.WebControls.CheckBox cbIsMileStone = (System.Web.UI.WebControls.CheckBox)(this.Grid1.Rows[i].FindControl("cbIsMileStone"));
+ cbIsMileStone.Visible = false;
+ foreach (GridColumn column in Grid1.Columns)
{
- System.Web.UI.WebControls.CheckBox cbIsMileStone = (System.Web.UI.WebControls.CheckBox)(this.Grid1.Rows[i].FindControl("cbIsMileStone"));
- cbIsMileStone.Visible = false;
- foreach (GridColumn column in Grid1.Columns)
+ if (column.ColumnIndex != 0 && column.ColumnIndex != 1)
{
- if (column.ColumnIndex != 0 && column.ColumnIndex != 1)
- {
- this.Grid1.Rows[i].CellCssClasses[column.ColumnIndex] = "f-grid-cell-uneditable";
- }
+ this.Grid1.Rows[i].CellCssClasses[column.ColumnIndex] = "f-grid-cell-uneditable";
}
}
- else
+ }
+ else
+ {
+ System.Web.UI.WebControls.CheckBox cbIsMileStone = (System.Web.UI.WebControls.CheckBox)(this.Grid1.Rows[i].FindControl("cbIsMileStone"));
+ Model.WBS_WorkPackage workPackage = BLL.WorkPackageService.GetWorkPackageByWorkPackageId(this.Grid1.Rows[i].DataKeys[2].ToString());
+ if (workPackage != null && workPackage.IsMileStone == true)
{
- System.Web.UI.WebControls.CheckBox cbIsMileStone = (System.Web.UI.WebControls.CheckBox)(this.Grid1.Rows[i].FindControl("cbIsMileStone"));
- Model.WBS_WorkPackage workPackage = BLL.WorkPackageService.GetWorkPackageByWorkPackageId(this.Grid1.Rows[i].DataKeys[2].ToString());
- if (workPackage != null && workPackage.IsMileStone == true)
- {
- cbIsMileStone.Checked = true;
- }
+ cbIsMileStone.Checked = true;
}
}
}
diff --git a/SGGL/FineUIPro.Web/JDGL/Check/CompleteInput.aspx.designer.cs b/SGGL/FineUIPro.Web/JDGL/Check/CompleteInput.aspx.designer.cs
index c6abcb68..43a25ccb 100644
--- a/SGGL/FineUIPro.Web/JDGL/Check/CompleteInput.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/JDGL/Check/CompleteInput.aspx.designer.cs
@@ -66,6 +66,15 @@ namespace FineUIPro.Web.JDGL.Check {
///
protected global::FineUIPro.TextBox hdId;
+ ///
+ /// btnShow 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnShow;
+
///
/// btnSave 控件。
///
diff --git a/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx b/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx
index 3f77a098..1d38a46c 100644
--- a/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx
+++ b/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx
@@ -28,7 +28,7 @@
+ TreeColumn="Name" DataIDField="Id" DataParentIDField="SupId" ExpandAllTreeNodes="true">
diff --git a/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx.cs b/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx.cs
index a865e1e5..e6b170e0 100644
--- a/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx.cs
+++ b/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx.cs
@@ -28,7 +28,7 @@ namespace FineUIPro.Web.JDGL.Check
private void BindGrid()
{
- DataTable table = BLL.WorkPackageService.GetAllTreeDataTable(this.CurrUser.LoginProjectId, string.Empty,this.txtStartTime.Text.Trim(),this.txtEndTime.Text.Trim(),this.rblIsOK.SelectedValue);
+ var table = BLL.WorkPackageService.GetAllTreeDataTable2(this.CurrUser.LoginProjectId, string.Empty,this.txtStartTime.Text.Trim(),this.txtEndTime.Text.Trim(),this.rblIsOK.SelectedValue);
Grid1.DataSource = table;
Grid1.DataBind();
for (int i = 0; i < this.Grid1.Rows.Count; i++)
diff --git a/SGGL/FineUIPro.Web/common/Menu_DigData.xml b/SGGL/FineUIPro.Web/common/Menu_DigData.xml
index bb7a7a34..b532a9bb 100644
--- a/SGGL/FineUIPro.Web/common/Menu_DigData.xml
+++ b/SGGL/FineUIPro.Web/common/Menu_DigData.xml
@@ -1,51 +1,9 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
@@ -58,15 +16,12 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/common/Menu_HTGL.xml b/SGGL/FineUIPro.Web/common/Menu_HTGL.xml
index 129ab5fd..c0fc81f0 100644
--- a/SGGL/FineUIPro.Web/common/Menu_HTGL.xml
+++ b/SGGL/FineUIPro.Web/common/Menu_HTGL.xml
@@ -1,14 +1,12 @@
-
-
-
+
+
+
-
-
@@ -16,10 +14,7 @@
-
-
-
-
+
diff --git a/SGGL/FineUIPro.Web/common/Menu_JDGL.xml b/SGGL/FineUIPro.Web/common/Menu_JDGL.xml
index fd6a0762..8d4aa005 100644
--- a/SGGL/FineUIPro.Web/common/Menu_JDGL.xml
+++ b/SGGL/FineUIPro.Web/common/Menu_JDGL.xml
@@ -1,11 +1,7 @@
-
+
-
-
-
-
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/common/Menu_PHTGL.xml b/SGGL/FineUIPro.Web/common/Menu_PHTGL.xml
index 31955789..eb672a76 100644
--- a/SGGL/FineUIPro.Web/common/Menu_PHTGL.xml
+++ b/SGGL/FineUIPro.Web/common/Menu_PHTGL.xml
@@ -17,20 +17,19 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
+
diff --git a/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml b/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml
index 9bc36592..03eb9188 100644
--- a/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml
+++ b/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml
@@ -48,6 +48,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs
index 3245a2b7..d0e1f9e9 100644
--- a/SGGL/Model/Model.cs
+++ b/SGGL/Model/Model.cs
@@ -11763,7 +11763,7 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(200)")]
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(2000)")]
public string ApproveIdea
{
get
@@ -151221,7 +151221,7 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttentPerson", DbType="NVarChar(500)")]
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttentPerson", DbType="NVarChar(3000)")]
public string AttentPerson
{
get
@@ -182744,7 +182744,7 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageEstimate", DbType="Decimal(18,2)")]
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageEstimate", DbType="Decimal(18,3)")]
public System.Nullable WorkPackageEstimate
{
get
@@ -292484,6 +292484,24 @@ namespace Model
private string _WBSCode;
+ private System.Nullable _JDWeights;
+
+ private string _Unit;
+
+ private System.Nullable _PlanProjectQuantity;
+
+ private System.Nullable _RealProjectQuantity;
+
+ private System.Nullable _RealStartDate;
+
+ private System.Nullable _IsMileStone;
+
+ private System.Nullable _PlanCost;
+
+ private string _PreWorkCode;
+
+ private string _ShowId;
+
private string _ProjectId;
public View_WBS()
@@ -292538,7 +292556,7 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(81)")]
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(50)")]
public string Name
{
get
@@ -292634,6 +292652,150 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JDWeights", DbType="Decimal(9,2)")]
+ public System.Nullable JDWeights
+ {
+ get
+ {
+ return this._JDWeights;
+ }
+ set
+ {
+ if ((this._JDWeights != value))
+ {
+ this._JDWeights = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Unit", DbType="NVarChar(50)")]
+ public string Unit
+ {
+ get
+ {
+ return this._Unit;
+ }
+ set
+ {
+ if ((this._Unit != value))
+ {
+ this._Unit = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanProjectQuantity", DbType="Decimal(18,2)")]
+ public System.Nullable PlanProjectQuantity
+ {
+ get
+ {
+ return this._PlanProjectQuantity;
+ }
+ set
+ {
+ if ((this._PlanProjectQuantity != value))
+ {
+ this._PlanProjectQuantity = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealProjectQuantity", DbType="Decimal(18,2)")]
+ public System.Nullable RealProjectQuantity
+ {
+ get
+ {
+ return this._RealProjectQuantity;
+ }
+ set
+ {
+ if ((this._RealProjectQuantity != value))
+ {
+ this._RealProjectQuantity = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealStartDate", DbType="DateTime")]
+ public System.Nullable RealStartDate
+ {
+ get
+ {
+ return this._RealStartDate;
+ }
+ set
+ {
+ if ((this._RealStartDate != value))
+ {
+ this._RealStartDate = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsMileStone", DbType="Bit")]
+ public System.Nullable IsMileStone
+ {
+ get
+ {
+ return this._IsMileStone;
+ }
+ set
+ {
+ if ((this._IsMileStone != value))
+ {
+ this._IsMileStone = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanCost", DbType="Decimal(18,2)")]
+ public System.Nullable PlanCost
+ {
+ get
+ {
+ return this._PlanCost;
+ }
+ set
+ {
+ if ((this._PlanCost != value))
+ {
+ this._PlanCost = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreWorkCode", DbType="NVarChar(50)")]
+ public string PreWorkCode
+ {
+ get
+ {
+ return this._PreWorkCode;
+ }
+ set
+ {
+ if ((this._PreWorkCode != value))
+ {
+ this._PreWorkCode = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShowId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+ public string ShowId
+ {
+ get
+ {
+ return this._ShowId;
+ }
+ set
+ {
+ if ((this._ShowId != value))
+ {
+ this._ShowId = value;
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{