修改施工日志
This commit is contained in:
@@ -50,9 +50,9 @@ namespace BLL
|
||||
Professional = ConstructionLog.Professional,
|
||||
CompileMan = ConstructionLog.CompileMan,
|
||||
CompileDate = ConstructionLog.CompileDate,
|
||||
State= ConstructionLog.State,
|
||||
Remark= ConstructionLog.Remark,
|
||||
HSETodaySummary= ConstructionLog.HSETodaySummary,
|
||||
State = ConstructionLog.State,
|
||||
Remark = ConstructionLog.Remark,
|
||||
HSETodaySummary = ConstructionLog.HSETodaySummary,
|
||||
HSETodaySummaryRemark = ConstructionLog.HSETodaySummaryRemark,
|
||||
HSETomorrowPlan = ConstructionLog.HSETomorrowPlan,
|
||||
HSETomorrowPlanRemark = ConstructionLog.HSETomorrowPlanRemark,
|
||||
@@ -60,6 +60,9 @@ namespace BLL
|
||||
CQMSTodaySummaryRemark = ConstructionLog.CQMSTodaySummaryRemark,
|
||||
CQMSTomorrowPlan = ConstructionLog.CQMSTomorrowPlan,
|
||||
CQMSTomorrowPlanRemark = ConstructionLog.CQMSTomorrowPlanRemark,
|
||||
FileCode = ConstructionLog.FileCode,
|
||||
WorkPostId = ConstructionLog.WorkPostId,
|
||||
MachineId = ConstructionLog.MachineId,
|
||||
};
|
||||
db.ZHGL_ConstructionLog.InsertOnSubmit(newConstructionLog);
|
||||
db.SubmitChanges();
|
||||
@@ -75,6 +78,7 @@ namespace BLL
|
||||
Model.ZHGL_ConstructionLog newConstructionLog = db.ZHGL_ConstructionLog.FirstOrDefault(e => e.ConstructionLogId == ConstructionLog.ConstructionLogId);
|
||||
if (newConstructionLog != null)
|
||||
{
|
||||
newConstructionLog.FileCode = ConstructionLog.FileCode;
|
||||
newConstructionLog.Weather = ConstructionLog.Weather;
|
||||
newConstructionLog.Temperature = ConstructionLog.Temperature;
|
||||
newConstructionLog.ContractNo = ConstructionLog.ContractNo;
|
||||
@@ -90,6 +94,8 @@ namespace BLL
|
||||
newConstructionLog.CQMSTodaySummaryRemark = ConstructionLog.CQMSTodaySummaryRemark;
|
||||
newConstructionLog.CQMSTomorrowPlan = ConstructionLog.CQMSTomorrowPlan;
|
||||
newConstructionLog.CQMSTomorrowPlanRemark = ConstructionLog.CQMSTomorrowPlanRemark;
|
||||
newConstructionLog.WorkPostId = ConstructionLog.WorkPostId;
|
||||
newConstructionLog.MachineId = ConstructionLog.MachineId;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user