1
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
using System.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
@@ -7,7 +10,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public static class ProjectMillionsMonthlyReportService
|
||||
{
|
||||
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键获取企业安全数据统计月报
|
||||
@@ -42,6 +45,7 @@ namespace BLL
|
||||
ContractorNum = millionsMonthlyReport.ContractorNum,
|
||||
SumPersonNum = millionsMonthlyReport.SumPersonNum,
|
||||
TotalWorkNum = millionsMonthlyReport.TotalWorkNum,
|
||||
OutSideUnitWorkNum = millionsMonthlyReport.OutSideUnitWorkNum,
|
||||
DeathAccidentNum = millionsMonthlyReport.DeathAccidentNum,
|
||||
DeathAccidentPersonNum = millionsMonthlyReport.DeathAccidentPersonNum,
|
||||
DeathAccidentLossHour = millionsMonthlyReport.DeathAccidentLossHour,
|
||||
@@ -112,6 +116,7 @@ namespace BLL
|
||||
newMillionsMonthlyReport.ContractorNum = millionsMonthlyReport.ContractorNum;
|
||||
newMillionsMonthlyReport.SumPersonNum = millionsMonthlyReport.SumPersonNum;
|
||||
newMillionsMonthlyReport.TotalWorkNum = millionsMonthlyReport.TotalWorkNum;
|
||||
newMillionsMonthlyReport.OutSideUnitWorkNum = millionsMonthlyReport.OutSideUnitWorkNum;
|
||||
newMillionsMonthlyReport.DeathAccidentNum = millionsMonthlyReport.DeathAccidentNum;
|
||||
newMillionsMonthlyReport.DeathAccidentPersonNum = millionsMonthlyReport.DeathAccidentPersonNum;
|
||||
newMillionsMonthlyReport.DeathAccidentLossHour = millionsMonthlyReport.DeathAccidentLossHour;
|
||||
|
||||
@@ -77,6 +77,7 @@
|
||||
ContractRange = projectUnit.ContractRange,
|
||||
RealNamePushTime = projectUnit.RealNamePushTime,
|
||||
IsSynchro = projectUnit.IsSynchro,
|
||||
IsOutSideUnit = projectUnit.IsOutSideUnit,
|
||||
};
|
||||
db.Project_ProjectUnit.InsertOnSubmit(newProjectUnit);
|
||||
db.SubmitChanges();
|
||||
@@ -100,6 +101,7 @@
|
||||
newProjectUnit.ContractRange = projectUnit.ContractRange;
|
||||
newProjectUnit.RealNamePushTime = projectUnit.RealNamePushTime;
|
||||
newProjectUnit.IsSynchro = projectUnit.IsSynchro;
|
||||
newProjectUnit.IsOutSideUnit = projectUnit.IsOutSideUnit;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -135,6 +135,7 @@
|
||||
ContractorNum = x.ContractorNum,
|
||||
SumPersonNum = x.SumPersonNum,
|
||||
TotalWorkNum = x.TotalWorkNum,
|
||||
OutSideUnitWorkNum = x.OutSideUnitWorkNum,
|
||||
SeriousInjuriesNum = x.SeriousInjuriesNum,
|
||||
SeriousInjuriesPersonNum = x.SeriousInjuriesPersonNum,
|
||||
SeriousInjuriesLossHour = x.SeriousInjuriesLossHour,
|
||||
@@ -2753,6 +2754,12 @@
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> MedicalTreatmentPersonNumField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string UnitIdField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string ProjectIdField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string MillionsMonthlyReportIdField;
|
||||
|
||||
@@ -2816,6 +2823,9 @@
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<decimal> TotalWorkNumField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<decimal> OutSideUnitWorkNumField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> TrafficNumField;
|
||||
|
||||
@@ -3002,6 +3012,40 @@
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public string UnitId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.UnitIdField;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((object.ReferenceEquals(this.UnitIdField, value) != true))
|
||||
{
|
||||
this.UnitIdField = value;
|
||||
this.RaisePropertyChanged("UnitId");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.ProjectIdField;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((object.ReferenceEquals(this.ProjectIdField, value) != true))
|
||||
{
|
||||
this.ProjectIdField = value;
|
||||
this.RaisePropertyChanged("ProjectId");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public string MillionsMonthlyReportId
|
||||
{
|
||||
@@ -3359,6 +3403,23 @@
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<decimal> OutSideUnitWorkNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.OutSideUnitWorkNumField;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this.OutSideUnitWorkNumField.Equals(value) != true))
|
||||
{
|
||||
this.OutSideUnitWorkNumField = value;
|
||||
this.RaisePropertyChanged("OutSideUnitWorkNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> TrafficNum
|
||||
{
|
||||
|
||||
@@ -109,6 +109,7 @@ namespace BLL
|
||||
ContractorNum = MillionsMonthlyReportItem.ContractorNum,
|
||||
SumPersonNum = MillionsMonthlyReportItem.SumPersonNum,
|
||||
TotalWorkNum = MillionsMonthlyReportItem.TotalWorkNum,
|
||||
OutSideUnitWorkNum = MillionsMonthlyReportItem.OutSideUnitWorkNum,
|
||||
DeathAccidentNum = MillionsMonthlyReportItem.DeathAccidentNum,
|
||||
DeathAccidentPersonNum = MillionsMonthlyReportItem.DeathAccidentPersonNum,
|
||||
DeathAccidentLossHour = MillionsMonthlyReportItem.DeathAccidentLossHour,
|
||||
@@ -156,6 +157,7 @@ namespace BLL
|
||||
newMillionsMonthlyReportItem.ContractorNum = MillionsMonthlyReportItem.ContractorNum;
|
||||
newMillionsMonthlyReportItem.SumPersonNum = MillionsMonthlyReportItem.SumPersonNum;
|
||||
newMillionsMonthlyReportItem.TotalWorkNum = MillionsMonthlyReportItem.TotalWorkNum;
|
||||
newMillionsMonthlyReportItem.OutSideUnitWorkNum = MillionsMonthlyReportItem.OutSideUnitWorkNum;
|
||||
newMillionsMonthlyReportItem.DeathAccidentNum = MillionsMonthlyReportItem.DeathAccidentNum;
|
||||
newMillionsMonthlyReportItem.DeathAccidentPersonNum = MillionsMonthlyReportItem.DeathAccidentPersonNum;
|
||||
newMillionsMonthlyReportItem.DeathAccidentLossHour = MillionsMonthlyReportItem.DeathAccidentLossHour;
|
||||
|
||||
Reference in New Issue
Block a user