修改施工日志
This commit is contained in:
parent
2b6b7c5d5e
commit
c96394016a
|
|
@ -0,0 +1,348 @@
|
|||
drop table ZHGL_ConstructionLog
|
||||
GO
|
||||
|
||||
|
||||
CREATE TABLE [dbo].[ZHGL_ConstructionLog](
|
||||
[ConstructionLogId] [nvarchar](50) NOT NULL,
|
||||
[ProjectId] [nvarchar](50) NULL,
|
||||
[Weather] [nvarchar](10) NULL,
|
||||
[Temperature] [nvarchar](30) NULL,
|
||||
[ContractNo] [nvarchar](50) NULL,
|
||||
[UnitWorks] [nvarchar](500) NULL,
|
||||
[Professional] [nvarchar](50) NULL,
|
||||
[CompileMan] [nvarchar](50) NULL,
|
||||
[CompileDate] [datetime] NULL,
|
||||
[State] [char](1) NULL,
|
||||
[Remark] [nvarchar](500) NULL,
|
||||
[HSETodaySummary] [nvarchar](3000) NULL,
|
||||
[HSETodaySummaryRemark] [nvarchar](500) NULL,
|
||||
[HSETomorrowPlan] [nvarchar](3000) NULL,
|
||||
[HSETomorrowPlanRemark] [nvarchar](500) NULL,
|
||||
[CQMSTodaySummary] [nvarchar](3000) NULL,
|
||||
[CQMSTodaySummaryRemark] [nvarchar](500) NULL,
|
||||
[CQMSTomorrowPlan] [nvarchar](3000) NULL,
|
||||
[CQMSTomorrowPlanRemark] [nvarchar](500) NULL,
|
||||
CONSTRAINT [PK_ZHGL_ConstructionLog] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[ConstructionLogId] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY]
|
||||
|
||||
GO
|
||||
|
||||
SET ANSI_PADDING OFF
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[ZHGL_ConstructionLog] WITH CHECK ADD CONSTRAINT [FK_ZHGL_ConstructionLog_Base_Project] FOREIGN KEY([ProjectId])
|
||||
REFERENCES [dbo].[Base_Project] ([ProjectId])
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[ZHGL_ConstructionLog] CHECK CONSTRAINT [FK_ZHGL_ConstructionLog_Base_Project]
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'ConstructionLogId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'ProjectId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'天气状况' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'Weather'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最高温度' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'Temperature'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'合同编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'ContractNo'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'单位工程' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'UnitWorks'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专业工程' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'Professional'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'State'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'Remark'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'安全当日小结' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'HSETodaySummary'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'安全当日小结备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'HSETodaySummaryRemark'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'安全明日计划' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'HSETomorrowPlan'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'安全明日计划备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'HSETomorrowPlanRemark'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'质量当日小结' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'CQMSTodaySummary'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'质量当日小结备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'CQMSTodaySummaryRemark'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'质量明日计划' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'CQMSTomorrowPlan'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'质量明日计划备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog', @level2type=N'COLUMN',@level2name=N'CQMSTomorrowPlanRemark'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目级施工日志表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLog'
|
||||
GO
|
||||
|
||||
|
||||
|
||||
CREATE TABLE [dbo].[ZHGL_ConstructionLogMachine](
|
||||
[ConstructionLogMachineId] [nvarchar](50) NOT NULL,
|
||||
[ConstructionLogId] [nvarchar](50) NULL,
|
||||
[UnitWorkId] [nvarchar](50) NULL,
|
||||
[WJNum] [int] NULL,
|
||||
[DCNum] [int] NULL,
|
||||
[DZJNum] [int] NULL,
|
||||
[GCNum] [int] NULL,
|
||||
[BCNum] [int] NULL,
|
||||
[BengCNum] [int] NULL,
|
||||
CONSTRAINT [PK_ZHGL_ConstructionLogMachine] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[ConstructionLogMachineId] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY]
|
||||
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[ZHGL_ConstructionLogMachine] WITH CHECK ADD CONSTRAINT [FK_ZHGL_ConstructionLogMachine_ZHGL_ConstructionLog] FOREIGN KEY([ConstructionLogId])
|
||||
REFERENCES [dbo].[ZHGL_ConstructionLog] ([ConstructionLogId])
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[ZHGL_ConstructionLogMachine] CHECK CONSTRAINT [FK_ZHGL_ConstructionLogMachine_ZHGL_ConstructionLog]
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogMachine', @level2type=N'COLUMN',@level2name=N'ConstructionLogMachineId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'外键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogMachine', @level2type=N'COLUMN',@level2name=N'ConstructionLogId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'单位工程' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogMachine', @level2type=N'COLUMN',@level2name=N'UnitWorkId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'挖机数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogMachine', @level2type=N'COLUMN',@level2name=N'WJNum'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'吊车数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogMachine', @level2type=N'COLUMN',@level2name=N'DCNum'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'打桩机数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogMachine', @level2type=N'COLUMN',@level2name=N'DZJNum'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'罐车数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogMachine', @level2type=N'COLUMN',@level2name=N'GCNum'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'板车数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogMachine', @level2type=N'COLUMN',@level2name=N'BCNum'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'泵车数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogMachine', @level2type=N'COLUMN',@level2name=N'BengCNum'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'施工日志机械明细表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogMachine'
|
||||
GO
|
||||
|
||||
|
||||
|
||||
CREATE TABLE [dbo].[ZHGL_ConstructionLogManagement](
|
||||
[ConstructionLogManagementId] [nvarchar](50) NOT NULL,
|
||||
[ConstructionLogId] [nvarchar](50) NULL,
|
||||
[UnitWorkId] [nvarchar](50) NULL,
|
||||
[TodayWork] [nvarchar](500) NULL,
|
||||
[TomorrowWork] [nvarchar](500) NULL,
|
||||
[Remark] [nvarchar](100) NULL,
|
||||
CONSTRAINT [PK_ZHGL_ConstructionLogManagement] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[ConstructionLogManagementId] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY]
|
||||
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[ZHGL_ConstructionLogManagement] WITH CHECK ADD CONSTRAINT [FK_ZHGL_ConstructionLogManagement_ZHGL_ConstructionLog] FOREIGN KEY([ConstructionLogId])
|
||||
REFERENCES [dbo].[ZHGL_ConstructionLog] ([ConstructionLogId])
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[ZHGL_ConstructionLogManagement] CHECK CONSTRAINT [FK_ZHGL_ConstructionLogManagement_ZHGL_ConstructionLog]
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogManagement', @level2type=N'COLUMN',@level2name=N'ConstructionLogManagementId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'外键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogManagement', @level2type=N'COLUMN',@level2name=N'ConstructionLogId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'单位工程' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogManagement', @level2type=N'COLUMN',@level2name=N'UnitWorkId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'今日完成工作' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogManagement', @level2type=N'COLUMN',@level2name=N'TodayWork'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'明日计划工作' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogManagement', @level2type=N'COLUMN',@level2name=N'TomorrowWork'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogManagement', @level2type=N'COLUMN',@level2name=N'Remark'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'施工日志专业管理明细表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogManagement'
|
||||
GO
|
||||
|
||||
|
||||
|
||||
CREATE TABLE [dbo].[ZHGL_ConstructionLogPerson](
|
||||
[ConstructionLogPersonId] [nvarchar](50) NOT NULL,
|
||||
[ConstructionLogId] [nvarchar](50) NULL,
|
||||
[UnitWorkId] [nvarchar](50) NULL,
|
||||
[WGNum] [int] NULL,
|
||||
[GJGNum] [int] NULL,
|
||||
[MGNum] [int] NULL,
|
||||
[HNTGNum] [int] NULL,
|
||||
[HGNum] [int] NULL,
|
||||
[JZGNum] [int] NULL,
|
||||
CONSTRAINT [PK_ZHGL_ConstructionLogPerson] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[ConstructionLogPersonId] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY]
|
||||
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[ZHGL_ConstructionLogPerson] WITH CHECK ADD CONSTRAINT [FK_ZHGL_ConstructionLogPerson_ZHGL_ConstructionLog] FOREIGN KEY([ConstructionLogId])
|
||||
REFERENCES [dbo].[ZHGL_ConstructionLog] ([ConstructionLogId])
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[ZHGL_ConstructionLogPerson] CHECK CONSTRAINT [FK_ZHGL_ConstructionLogPerson_ZHGL_ConstructionLog]
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogPerson', @level2type=N'COLUMN',@level2name=N'ConstructionLogPersonId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'外键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogPerson', @level2type=N'COLUMN',@level2name=N'ConstructionLogId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'单位工程' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogPerson', @level2type=N'COLUMN',@level2name=N'UnitWorkId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'瓦工数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogPerson', @level2type=N'COLUMN',@level2name=N'WGNum'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'钢筋工数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogPerson', @level2type=N'COLUMN',@level2name=N'GJGNum'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'木工数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogPerson', @level2type=N'COLUMN',@level2name=N'MGNum'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'混凝土工数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogPerson', @level2type=N'COLUMN',@level2name=N'HNTGNum'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'焊工数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogPerson', @level2type=N'COLUMN',@level2name=N'HGNum'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'架子工数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogPerson', @level2type=N'COLUMN',@level2name=N'JZGNum'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'施工日志作业人员明细表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogPerson'
|
||||
GO
|
||||
|
||||
|
||||
|
||||
CREATE TABLE [dbo].[ZHGL_ConstructionLogProblem](
|
||||
[ConstructionLogProblemId] [nvarchar](50) NOT NULL,
|
||||
[ConstructionLogId] [nvarchar](50) NULL,
|
||||
[UnitWorkId] [nvarchar](50) NULL,
|
||||
[MainProblem] [nvarchar](500) NULL,
|
||||
[HandlingMeasures] [nvarchar](500) NULL,
|
||||
[WorkPackageId] [nvarchar](50) NULL,
|
||||
[ImportanceLevel] [nvarchar](10) NULL,
|
||||
CONSTRAINT [PK_ZHGL_ConstructionLogProblem] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[ConstructionLogProblemId] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY]
|
||||
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[ZHGL_ConstructionLogProblem] WITH CHECK ADD CONSTRAINT [FK_ZHGL_ConstructionLogProblem_ZHGL_ConstructionLog] FOREIGN KEY([ConstructionLogId])
|
||||
REFERENCES [dbo].[ZHGL_ConstructionLog] ([ConstructionLogId])
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[ZHGL_ConstructionLogProblem] CHECK CONSTRAINT [FK_ZHGL_ConstructionLogProblem_ZHGL_ConstructionLog]
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogProblem', @level2type=N'COLUMN',@level2name=N'ConstructionLogProblemId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'外键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogProblem', @level2type=N'COLUMN',@level2name=N'ConstructionLogId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'单位工程' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogProblem', @level2type=N'COLUMN',@level2name=N'UnitWorkId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主要问题' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogProblem', @level2type=N'COLUMN',@level2name=N'MainProblem'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'处理措施' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogProblem', @level2type=N'COLUMN',@level2name=N'HandlingMeasures'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所属WBS' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogProblem', @level2type=N'COLUMN',@level2name=N'WorkPackageId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'重要性等级' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogProblem', @level2type=N'COLUMN',@level2name=N'ImportanceLevel'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'施工日志需要协调解决的问题明细表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogProblem'
|
||||
GO
|
||||
|
||||
|
||||
|
||||
CREATE TABLE [dbo].[ZHGL_ConstructionLogRecord](
|
||||
[ConstructionLogRecordId] [nvarchar](50) NOT NULL,
|
||||
[ConstructionLogId] [nvarchar](50) NULL,
|
||||
[Record] [nvarchar](1000) NULL,
|
||||
[Remark] [nvarchar](300) NULL,
|
||||
CONSTRAINT [PK_ZHGL_ConstructionLogRecord] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[ConstructionLogRecordId] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY]
|
||||
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[ZHGL_ConstructionLogRecord] WITH CHECK ADD CONSTRAINT [FK_ZHGL_ConstructionLogRecord_ZHGL_ConstructionLog] FOREIGN KEY([ConstructionLogId])
|
||||
REFERENCES [dbo].[ZHGL_ConstructionLog] ([ConstructionLogId])
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[ZHGL_ConstructionLogRecord] CHECK CONSTRAINT [FK_ZHGL_ConstructionLogRecord_ZHGL_ConstructionLog]
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogRecord', @level2type=N'COLUMN',@level2name=N'ConstructionLogRecordId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'外键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogRecord', @level2type=N'COLUMN',@level2name=N'ConstructionLogId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'相关记录' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogRecord', @level2type=N'COLUMN',@level2name=N'Record'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogRecord', @level2type=N'COLUMN',@level2name=N'Remark'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'施工日志施工经理相关记录明细表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZHGL_ConstructionLogRecord'
|
||||
GO
|
||||
|
||||
|
||||
|
|
@ -642,6 +642,10 @@
|
|||
<Compile Include="ProjectData\Project_SysSetService.cs" />
|
||||
<Compile Include="ProjectData\TeamGroupService.cs" />
|
||||
<Compile Include="ProjectData\UnitWorkService.cs" />
|
||||
<Compile Include="PZHGL\InformationProject\ConstructionLogMachineService.cs" />
|
||||
<Compile Include="PZHGL\InformationProject\ConstructionLogManagementService.cs" />
|
||||
<Compile Include="PZHGL\InformationProject\ConstructionLogPersonService.cs" />
|
||||
<Compile Include="PZHGL\InformationProject\ConstructionLogProblemService.cs" />
|
||||
<Compile Include="PZHGL\InformationProject\ConstructionLogService.cs" />
|
||||
<Compile Include="PZHGL\InformationProject\ConstructionPlanApproveService.cs" />
|
||||
<Compile Include="PZHGL\InformationProject\ConstructionPlanService.cs" />
|
||||
|
|
|
|||
|
|
@ -0,0 +1,70 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
public class ConstructionLogMachineService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
|
||||
/// <summary>
|
||||
/// 获取施工日志机械明细列表
|
||||
/// </summary>
|
||||
/// <param name="satartRowIndex"></param>
|
||||
/// <param name="maximumRows"></param>
|
||||
/// <returns></returns>
|
||||
public static List<Model.ZHGL_ConstructionLogMachine> getListData(string ConstructionLogId)
|
||||
{
|
||||
return (from x in db.ZHGL_ConstructionLogMachine
|
||||
where x.ConstructionLogId == ConstructionLogId
|
||||
select x).ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 增加施工日志机械明细
|
||||
/// </summary>
|
||||
/// <param name="managerRuleApprove">施工日志机械明细实体</param>
|
||||
public static void AddConstructionLogMachine(Model.ZHGL_ConstructionLogMachine constructionLogMachine)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.ZHGL_ConstructionLogMachine newConstructionLogMachine = new Model.ZHGL_ConstructionLogMachine();
|
||||
newConstructionLogMachine.ConstructionLogMachineId = constructionLogMachine.ConstructionLogMachineId;
|
||||
newConstructionLogMachine.ConstructionLogId = constructionLogMachine.ConstructionLogId;
|
||||
newConstructionLogMachine.UnitWorkId = constructionLogMachine.UnitWorkId;
|
||||
newConstructionLogMachine.WJNum = constructionLogMachine.WJNum;
|
||||
newConstructionLogMachine.DCNum = constructionLogMachine.DCNum;
|
||||
newConstructionLogMachine.DZJNum = constructionLogMachine.DZJNum;
|
||||
newConstructionLogMachine.GCNum = constructionLogMachine.GCNum;
|
||||
newConstructionLogMachine.BCNum = constructionLogMachine.BCNum;
|
||||
newConstructionLogMachine.BengCNum = constructionLogMachine.BengCNum;
|
||||
|
||||
db.ZHGL_ConstructionLogMachine.InsertOnSubmit(newConstructionLogMachine);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据月报id删除对应的所有施工日志机械明细
|
||||
/// </summary>
|
||||
/// <param name="ConstructionLogId">施工日志机械明细编号</param>
|
||||
public static void DeleteConstructionLogMachinesByConstructionLogId(string ConstructionLogId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
var q = (from x in db.ZHGL_ConstructionLogMachine where x.ConstructionLogId == ConstructionLogId select x).ToList();
|
||||
if (q.Count() > 0)
|
||||
{
|
||||
db.ZHGL_ConstructionLogMachine.DeleteAllOnSubmit(q);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据月报id获取对应的所有施工日志机械明细
|
||||
/// </summary>
|
||||
/// <param name="ConstructionLogId">施工日志机械明细编号</param>
|
||||
public static List<Model.ZHGL_ConstructionLogMachine> GetConstructionLogMachinesByConstructionLogId(string ConstructionLogId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
return (from x in db.ZHGL_ConstructionLogMachine where x.ConstructionLogId == ConstructionLogId select x).ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
public class ConstructionLogManagementService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
|
||||
/// <summary>
|
||||
/// 获取施工日志专业管理明细列表
|
||||
/// </summary>
|
||||
/// <param name="satartRowIndex"></param>
|
||||
/// <param name="maximumRows"></param>
|
||||
/// <returns></returns>
|
||||
public static List<Model.ZHGL_ConstructionLogManagement> getListData(string ConstructionLogId)
|
||||
{
|
||||
return (from x in db.ZHGL_ConstructionLogManagement
|
||||
where x.ConstructionLogId == ConstructionLogId
|
||||
select x).ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 增加施工日志专业管理明细
|
||||
/// </summary>
|
||||
/// <param name="managerRuleApprove">施工日志专业管理明细实体</param>
|
||||
public static void AddConstructionLogManagement(Model.ZHGL_ConstructionLogManagement constructionLogManagement)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.ZHGL_ConstructionLogManagement newConstructionLogManagement = new Model.ZHGL_ConstructionLogManagement();
|
||||
newConstructionLogManagement.ConstructionLogManagementId = constructionLogManagement.ConstructionLogManagementId;
|
||||
newConstructionLogManagement.ConstructionLogId = constructionLogManagement.ConstructionLogId;
|
||||
newConstructionLogManagement.UnitWorkId = constructionLogManagement.UnitWorkId;
|
||||
newConstructionLogManagement.TodayWork = constructionLogManagement.TodayWork;
|
||||
newConstructionLogManagement.TomorrowWork = constructionLogManagement.TomorrowWork;
|
||||
newConstructionLogManagement.Remark = constructionLogManagement.Remark;
|
||||
|
||||
db.ZHGL_ConstructionLogManagement.InsertOnSubmit(newConstructionLogManagement);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据月报id删除对应的所有施工日志专业管理明细
|
||||
/// </summary>
|
||||
/// <param name="ConstructionLogId">施工日志专业管理明细编号</param>
|
||||
public static void DeleteConstructionLogManagementsByConstructionLogId(string ConstructionLogId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
var q = (from x in db.ZHGL_ConstructionLogManagement where x.ConstructionLogId == ConstructionLogId select x).ToList();
|
||||
if (q.Count() > 0)
|
||||
{
|
||||
db.ZHGL_ConstructionLogManagement.DeleteAllOnSubmit(q);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据月报id获取对应的所有施工日志专业管理明细
|
||||
/// </summary>
|
||||
/// <param name="ConstructionLogId">施工日志专业管理明细编号</param>
|
||||
public static List<Model.ZHGL_ConstructionLogManagement> GetConstructionLogManagementsByConstructionLogId(string ConstructionLogId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
return (from x in db.ZHGL_ConstructionLogManagement where x.ConstructionLogId == ConstructionLogId select x).ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,70 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
public class ConstructionLogPersonService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
|
||||
/// <summary>
|
||||
/// 获取施工日志作业人员明细列表
|
||||
/// </summary>
|
||||
/// <param name="satartRowIndex"></param>
|
||||
/// <param name="maximumRows"></param>
|
||||
/// <returns></returns>
|
||||
public static List<Model.ZHGL_ConstructionLogPerson> getListData(string ConstructionLogId)
|
||||
{
|
||||
return (from x in db.ZHGL_ConstructionLogPerson
|
||||
where x.ConstructionLogId == ConstructionLogId
|
||||
select x).ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 增加施工日志作业人员明细
|
||||
/// </summary>
|
||||
/// <param name="managerRuleApprove">施工日志作业人员明细实体</param>
|
||||
public static void AddConstructionLogPerson(Model.ZHGL_ConstructionLogPerson constructionLogPerson)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.ZHGL_ConstructionLogPerson newConstructionLogPerson = new Model.ZHGL_ConstructionLogPerson();
|
||||
newConstructionLogPerson.ConstructionLogPersonId = constructionLogPerson.ConstructionLogPersonId;
|
||||
newConstructionLogPerson.ConstructionLogId = constructionLogPerson.ConstructionLogId;
|
||||
newConstructionLogPerson.UnitWorkId = constructionLogPerson.UnitWorkId;
|
||||
newConstructionLogPerson.WGNum = constructionLogPerson.WGNum;
|
||||
newConstructionLogPerson.GJGNum = constructionLogPerson.GJGNum;
|
||||
newConstructionLogPerson.MGNum = constructionLogPerson.MGNum;
|
||||
newConstructionLogPerson.HNTGNum = constructionLogPerson.HNTGNum;
|
||||
newConstructionLogPerson.HGNum = constructionLogPerson.HGNum;
|
||||
newConstructionLogPerson.JZGNum = constructionLogPerson.JZGNum;
|
||||
|
||||
db.ZHGL_ConstructionLogPerson.InsertOnSubmit(newConstructionLogPerson);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据月报id删除对应的所有施工日志作业人员明细
|
||||
/// </summary>
|
||||
/// <param name="ConstructionLogId">施工日志作业人员明细编号</param>
|
||||
public static void DeleteConstructionLogPersonsByConstructionLogId(string ConstructionLogId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
var q = (from x in db.ZHGL_ConstructionLogPerson where x.ConstructionLogId == ConstructionLogId select x).ToList();
|
||||
if (q.Count() > 0)
|
||||
{
|
||||
db.ZHGL_ConstructionLogPerson.DeleteAllOnSubmit(q);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据月报id获取对应的所有施工日志作业人员明细
|
||||
/// </summary>
|
||||
/// <param name="ConstructionLogId">施工日志作业人员明细编号</param>
|
||||
public static List<Model.ZHGL_ConstructionLogPerson> GetConstructionLogPersonsByConstructionLogId(string ConstructionLogId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
return (from x in db.ZHGL_ConstructionLogPerson where x.ConstructionLogId == ConstructionLogId select x).ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
public class ConstructionLogProblemService
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -44,13 +44,22 @@ namespace BLL
|
|||
ConstructionLogId = ConstructionLog.ConstructionLogId,
|
||||
ProjectId = ConstructionLog.ProjectId,
|
||||
Weather = ConstructionLog.Weather,
|
||||
TemperatureMax = ConstructionLog.TemperatureMax,
|
||||
TemperatureMin = ConstructionLog.TemperatureMin,
|
||||
MainWork = ConstructionLog.MainWork,
|
||||
MainProblems = ConstructionLog.MainProblems,
|
||||
Remark = ConstructionLog.Remark,
|
||||
Temperature = ConstructionLog.Temperature,
|
||||
ContractNo = ConstructionLog.ContractNo,
|
||||
UnitWorks = ConstructionLog.UnitWorks,
|
||||
Professional = ConstructionLog.Professional,
|
||||
CompileMan = ConstructionLog.CompileMan,
|
||||
CompileDate = ConstructionLog.CompileDate,
|
||||
State= ConstructionLog.State,
|
||||
Remark= ConstructionLog.Remark,
|
||||
HSETodaySummary= ConstructionLog.HSETodaySummary,
|
||||
HSETodaySummaryRemark = ConstructionLog.HSETodaySummaryRemark,
|
||||
HSETomorrowPlan = ConstructionLog.HSETomorrowPlan,
|
||||
HSETomorrowPlanRemark = ConstructionLog.HSETomorrowPlanRemark,
|
||||
CQMSTodaySummary = ConstructionLog.CQMSTodaySummary,
|
||||
CQMSTodaySummaryRemark = ConstructionLog.CQMSTodaySummaryRemark,
|
||||
CQMSTomorrowPlan = ConstructionLog.CQMSTomorrowPlan,
|
||||
CQMSTomorrowPlanRemark = ConstructionLog.CQMSTomorrowPlanRemark,
|
||||
};
|
||||
db.ZHGL_ConstructionLog.InsertOnSubmit(newConstructionLog);
|
||||
db.SubmitChanges();
|
||||
|
|
@ -67,11 +76,20 @@ namespace BLL
|
|||
if (newConstructionLog != null)
|
||||
{
|
||||
newConstructionLog.Weather = ConstructionLog.Weather;
|
||||
newConstructionLog.TemperatureMax = ConstructionLog.TemperatureMax;
|
||||
newConstructionLog.TemperatureMin = ConstructionLog.TemperatureMin;
|
||||
newConstructionLog.MainWork = ConstructionLog.MainWork;
|
||||
newConstructionLog.MainProblems = ConstructionLog.MainProblems;
|
||||
newConstructionLog.Temperature = ConstructionLog.Temperature;
|
||||
newConstructionLog.ContractNo = ConstructionLog.ContractNo;
|
||||
newConstructionLog.UnitWorks = ConstructionLog.UnitWorks;
|
||||
newConstructionLog.Professional = ConstructionLog.Professional;
|
||||
newConstructionLog.State = ConstructionLog.State;
|
||||
newConstructionLog.Remark = ConstructionLog.Remark;
|
||||
newConstructionLog.HSETodaySummary = ConstructionLog.HSETodaySummary;
|
||||
newConstructionLog.HSETodaySummaryRemark = ConstructionLog.HSETodaySummaryRemark;
|
||||
newConstructionLog.HSETomorrowPlan = ConstructionLog.HSETomorrowPlan;
|
||||
newConstructionLog.HSETomorrowPlanRemark = ConstructionLog.HSETomorrowPlanRemark;
|
||||
newConstructionLog.CQMSTodaySummary = ConstructionLog.CQMSTodaySummary;
|
||||
newConstructionLog.CQMSTodaySummaryRemark = ConstructionLog.CQMSTodaySummaryRemark;
|
||||
newConstructionLog.CQMSTomorrowPlan = ConstructionLog.CQMSTomorrowPlan;
|
||||
newConstructionLog.CQMSTomorrowPlanRemark = ConstructionLog.CQMSTomorrowPlanRemark;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,20 +53,20 @@ namespace FineUIPro.Web.PZHGL.InformationProject
|
|||
{
|
||||
this.drpWeather.SelectedValue = constructionLog.Weather;
|
||||
}
|
||||
if (constructionLog.TemperatureMin != null)
|
||||
{
|
||||
this.txtTemperatureMin.Text = constructionLog.TemperatureMin.ToString();
|
||||
}
|
||||
if (constructionLog.TemperatureMax != null)
|
||||
{
|
||||
this.txtTemperatureMax.Text = constructionLog.TemperatureMax.ToString();
|
||||
}
|
||||
//if (constructionLog.TemperatureMin != null)
|
||||
//{
|
||||
// this.txtTemperatureMin.Text = constructionLog.TemperatureMin.ToString();
|
||||
//}
|
||||
//if (constructionLog.TemperatureMax != null)
|
||||
//{
|
||||
// this.txtTemperatureMax.Text = constructionLog.TemperatureMax.ToString();
|
||||
//}
|
||||
if (constructionLog.CompileDate != null)
|
||||
{
|
||||
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", constructionLog.CompileDate);
|
||||
}
|
||||
this.txtMainWork.Text = constructionLog.MainWork;
|
||||
this.txtMainProblems.Text = constructionLog.MainProblems;
|
||||
//this.txtMainWork.Text = constructionLog.MainWork;
|
||||
//this.txtMainProblems.Text = constructionLog.MainProblems;
|
||||
this.txtRemark.Text = constructionLog.Remark;
|
||||
|
||||
}
|
||||
|
|
@ -152,11 +152,11 @@ namespace FineUIPro.Web.PZHGL.InformationProject
|
|||
Model.ZHGL_ConstructionLog constructionLog = new Model.ZHGL_ConstructionLog();
|
||||
constructionLog.Weather = drpWeather.SelectedValue;
|
||||
constructionLog.ProjectId = CurrUser.LoginProjectId;
|
||||
constructionLog.TemperatureMin = Funs.GetNewInt(this.txtTemperatureMin.Text.Trim());
|
||||
constructionLog.TemperatureMax = Funs.GetNewInt(this.txtTemperatureMax.Text.Trim());
|
||||
//constructionLog.TemperatureMin = Funs.GetNewInt(this.txtTemperatureMin.Text.Trim());
|
||||
//constructionLog.TemperatureMax = Funs.GetNewInt(this.txtTemperatureMax.Text.Trim());
|
||||
constructionLog.CompileDate = Funs.GetNewDateTime(this.txtCompileDate.Text.Trim());
|
||||
constructionLog.MainWork = this.txtMainWork.Text;
|
||||
constructionLog.MainProblems = this.txtMainProblems.Text;
|
||||
//constructionLog.MainWork = this.txtMainWork.Text;
|
||||
//constructionLog.MainProblems = this.txtMainProblems.Text;
|
||||
constructionLog.Remark = this.txtRemark.Text;
|
||||
if (!string.IsNullOrEmpty(ConstructionLogId) && ConstructionLogService.GetConstructionLogById(Request.Params["ConstructionLogId"]) != null)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -48,20 +48,20 @@ namespace FineUIPro.Web.PZHGL.InformationProject
|
|||
{
|
||||
this.txtWeather.Text = constructionLog.Weather;
|
||||
}
|
||||
if (constructionLog.TemperatureMin != null)
|
||||
{
|
||||
this.txtTemperatureMin.Text = constructionLog.TemperatureMin.ToString();
|
||||
}
|
||||
if (constructionLog.TemperatureMax != null)
|
||||
{
|
||||
this.txtTemperatureMax.Text = constructionLog.TemperatureMax.ToString();
|
||||
}
|
||||
//if (constructionLog.TemperatureMin != null)
|
||||
//{
|
||||
// this.txtTemperatureMin.Text = constructionLog.TemperatureMin.ToString();
|
||||
//}
|
||||
//if (constructionLog.TemperatureMax != null)
|
||||
//{
|
||||
// this.txtTemperatureMax.Text = constructionLog.TemperatureMax.ToString();
|
||||
//}
|
||||
if (constructionLog.CompileDate != null)
|
||||
{
|
||||
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", constructionLog.CompileDate);
|
||||
}
|
||||
this.txtMainWork.Text = constructionLog.MainWork;
|
||||
this.txtMainProblems.Text = constructionLog.MainProblems;
|
||||
//this.txtMainWork.Text = constructionLog.MainWork;
|
||||
//this.txtMainProblems.Text = constructionLog.MainProblems;
|
||||
this.txtRemark.Text = constructionLog.Remark;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -326,6 +326,13 @@ namespace FineUIPro.Web
|
|||
|
||||
if (!string.IsNullOrEmpty(Request.Params["projectId"]))
|
||||
{
|
||||
Model.Base_Project project = BLL.ProjectService.GetProjectByProjectId(Request.Params["projectId"]);
|
||||
if (!projectlist.Contains(project))
|
||||
{
|
||||
projectlist.Add(project);
|
||||
this.drpProject.DataSource = projectlist;
|
||||
this.drpProject.DataBind();
|
||||
}
|
||||
this.drpProject.SelectedValue = Request.Params["projectId"];
|
||||
}
|
||||
|
||||
|
|
|
|||
1857
SGGL/Model/Model.cs
1857
SGGL/Model/Model.cs
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue