diff --git a/DataBase/版本日志/SUBQHSE_V2024-11-15-xiaj.sql b/DataBase/版本日志/SUBQHSE_V2024-11-15-xiaj.sql new file mode 100644 index 00000000..6390a1e8 --- /dev/null +++ b/DataBase/版本日志/SUBQHSE_V2024-11-15-xiaj.sql @@ -0,0 +1,24 @@ + + +--1޸Ĺֶܵ +ALTER TABLE Transfer_Piping ALTER COLUMN TotalFactor decimal(10, 2); +ALTER TABLE Transfer_Piping ALTER COLUMN CompleteFactor decimal(10, 2); +update Transfer_Piping set CompleteProportion='0'where CompleteProportion='' or CompleteProportion is null; +go +ALTER TABLE Transfer_Piping ALTER COLUMN CompleteProportion decimal(10, 2); +go + + + +--3ƽͳƱȺͱ +IF NOT EXISTS(select * from sys.columns where name='Insulation' and [object_id]=object_id(N'Transfer_SystemControl')) +BEGIN + -- + ALTER TABLE Transfer_SystemControl ADD ElectricHeatTracing nvarchar(50) NULL; + --/ + ALTER TABLE Transfer_SystemControl ADD Insulation nvarchar(50) NULL; +END +go + + + diff --git a/DataBase/版本日志/SUBQHSE_V2024-11-22-xiaj.sql b/DataBase/版本日志/SUBQHSE_V2024-11-22-xiaj.sql new file mode 100644 index 00000000..547482e5 --- /dev/null +++ b/DataBase/版本日志/SUBQHSE_V2024-11-22-xiaj.sql @@ -0,0 +1,13 @@ + +--ʷβ޸ +update Transfer_PunchlistFrom set IsMatI='Y2' where IsMatI='Y'; +update Transfer_PunchlistFrom set Punch_Type='JWD' where Punch_Type='FWD'; +go + + +update Transfer_PunchlistFrom set Sub_Sys_No='LHC1-CVL05-01-01' where Sub_Sys_No='CVL05-01'; +update Transfer_PunchlistFrom set Sub_Sys_No='LHC1-EL01-00-01' where Sub_Sys_No='EL01-01'; + +go + + diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/Instrumentation导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/Instrumentation导入模板.xls index b02bca19..f4490857 100644 Binary files a/SGGL/FineUIPro.Web/File/Excel/DataIn/Instrumentation导入模板.xls and b/SGGL/FineUIPro.Web/File/Excel/DataIn/Instrumentation导入模板.xls differ diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/Instrumentation导入模板(旧).xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/Instrumentation导入模板(旧).xls new file mode 100644 index 00000000..45cf4ca9 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/DataIn/Instrumentation导入模板(旧).xls differ diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/StaticEquipment导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/StaticEquipment导入模板.xls index 53bc3cda..50260a8f 100644 Binary files a/SGGL/FineUIPro.Web/File/Excel/DataIn/StaticEquipment导入模板.xls and b/SGGL/FineUIPro.Web/File/Excel/DataIn/StaticEquipment导入模板.xls differ diff --git a/SGGL/FineUIPro.Web/Transfer/Chart/Systemstatus.aspx.cs b/SGGL/FineUIPro.Web/Transfer/Chart/Systemstatus.aspx.cs index c96c4cf4..f3e0c40a 100644 --- a/SGGL/FineUIPro.Web/Transfer/Chart/Systemstatus.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/Chart/Systemstatus.aspx.cs @@ -61,7 +61,7 @@ else CONVERT(DECIMAL(10,2),100*(ISNULL(tpi2.ReinstateScount,0)*1.0/ISNULL(tpi.P (ISNULL(TseCount,0)+ISNULL(TreCount,0)) as EqCount,ISNULL((ISNULL(TseSCount,0)+ISNULL(TreSCount,0)),0) as EqScount, case (ISNULL(TseCount,0)+ISNULL(TreCount,0)) when 0 then 0 -else CONVERT(DECIMAL(10,2),100 *((ISNULL(TseSCount,0)+ISNULL(TreSCount,0)*1.0/ISNULL((ISNULL(TseCount,0)+ISNULL(TreCount,0)),0)))) end EqPercent, +else CONVERT(DECIMAL(10,2),100 *(((ISNULL(TseSCount,0)+ISNULL(TreSCount,0))*1.0/(ISNULL(TseCount,0)+ISNULL(TreCount,0))))) end EqPercent, ISNULL(TeCount,0) TeCount,ISNULL(TeScount,0) TeScount, case ISNULL(TeCount,0) diff --git a/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx b/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx index 9c38a22e..b631a3df 100644 --- a/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx +++ b/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx @@ -73,8 +73,8 @@ - - + + @@ -86,28 +86,28 @@ --%> + HeaderTextAlign="Center" Width="120px"> - - + --%> + HeaderTextAlign="Center" Width="120px"> - + diff --git a/SGGL/FineUIPro.Web/Transfer/InstrumentationDataIn.aspx.cs b/SGGL/FineUIPro.Web/Transfer/InstrumentationDataIn.aspx.cs index c16ef0e6..0db982b6 100644 --- a/SGGL/FineUIPro.Web/Transfer/InstrumentationDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/InstrumentationDataIn.aspx.cs @@ -130,7 +130,7 @@ namespace FineUIPro.Web.Transfer oleDBConn.Close(); oleDBConn.Dispose(); - AddDatasetToSQL(ds.Tables[0], 10); + AddDatasetToSQL(ds.Tables[0], 8); hdCheckResult.Text = "1"; } catch (Exception exc) @@ -280,7 +280,7 @@ namespace FineUIPro.Web.Transfer oleDBConn.Close(); oleDBConn.Dispose(); - AddDatasetToSQL2(ds.Tables[0], 11); + AddDatasetToSQL2(ds.Tables[0], 8); } catch (Exception ex) { @@ -335,21 +335,21 @@ namespace FineUIPro.Web.Transfer //var obj5 = model.Looptest = pds.Rows[i][10].ToString().Trim(); var obj1 = model.InstallationCalibration = pds.Rows[i][5].ToString().Trim(); - var obj2 = model.PipingPressuretest = pds.Rows[i][6].ToString().Trim(); - var obj3 = model.PipingLeak = pds.Rows[i][7].ToString().Trim(); - var obj4 = model.PipingBlowing = pds.Rows[i][8].ToString().Trim(); - var obj5 = model.Looptest = pds.Rows[i][9].ToString().Trim(); + //var obj2 = model.PipingPressuretest = pds.Rows[i][6].ToString().Trim(); + //var obj3 = model.PipingLeak = pds.Rows[i][7].ToString().Trim(); + var obj4 = model.PipingBlowing = pds.Rows[i][6].ToString().Trim(); + var obj5 = model.Looptest = pds.Rows[i][7].ToString().Trim(); #region 判断状态 var listObj = new List(); listObj.Add(obj1); - listObj.Add(obj2); - listObj.Add(obj3); + //listObj.Add(obj2); + //listObj.Add(obj3); listObj.Add(obj4); listObj.Add(obj5); //listObj.Add(obj0); //全是NA或Completed 状态是Completed - if (listObj.Where(x => x == "NA" || x == "Completed").ToList().Count == 5) + if (listObj.Where(x => x == "NA" || x == "Completed").ToList().Count == 3) { model.FINAL_Status = "Completed"; list.Add(model); @@ -357,7 +357,7 @@ namespace FineUIPro.Web.Transfer } //如果全是NA或Not Start 就是 Not Start - if (listObj.Where(x => x == "NA" || x == "Not Start").ToList().Count == 5) + if (listObj.Where(x => x == "NA" || x == "Not Start").ToList().Count == 3) { model.FINAL_Status = "Not Start"; list.Add(model); diff --git a/SGGL/FineUIPro.Web/Transfer/InstrumentationEdit.aspx b/SGGL/FineUIPro.Web/Transfer/InstrumentationEdit.aspx index d7749ed1..ad09ff88 100644 --- a/SGGL/FineUIPro.Web/Transfer/InstrumentationEdit.aspx +++ b/SGGL/FineUIPro.Web/Transfer/InstrumentationEdit.aspx @@ -67,7 +67,7 @@ - + <%-- @@ -79,7 +79,7 @@ - + --%> diff --git a/SGGL/FineUIPro.Web/Transfer/InstrumentationEdit.aspx.cs b/SGGL/FineUIPro.Web/Transfer/InstrumentationEdit.aspx.cs index 8cf84f39..3be30efb 100644 --- a/SGGL/FineUIPro.Web/Transfer/InstrumentationEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/InstrumentationEdit.aspx.cs @@ -56,8 +56,8 @@ namespace FineUIPro.Web.Transfer txtSubsystem.Text = model.Subsystem; txtTest_Package.Text = model.Test_Package; ddlInstallationCalibration.SelectedValue = model.InstallationCalibration; - ddlPipingPressuretest.SelectedValue = model.PipingPressuretest; - ddlPipingLeak.SelectedValue = model.PipingLeak; + //ddlPipingPressuretest.SelectedValue = model.PipingPressuretest; + //ddlPipingLeak.SelectedValue = model.PipingLeak; ddlPipingBlowing.SelectedValue = model.PipingBlowing; ddlLooptest.SelectedValue = model.Looptest; //ddlCalibration.SelectedValue = model.Calibration; @@ -77,8 +77,8 @@ namespace FineUIPro.Web.Transfer Subsystem = txtSubsystem.Text, Test_Package = txtTest_Package.Text, InstallationCalibration = ddlInstallationCalibration.SelectedValue, - PipingPressuretest = ddlPipingPressuretest.SelectedValue, - PipingLeak = ddlPipingLeak.SelectedValue, + //PipingPressuretest = ddlPipingPressuretest.SelectedValue, + //PipingLeak = ddlPipingLeak.SelectedValue, PipingBlowing = ddlPipingBlowing.SelectedValue, Looptest = ddlLooptest.SelectedValue, //Calibration= ddlCalibration.SelectedValue, @@ -89,19 +89,19 @@ namespace FineUIPro.Web.Transfer #region 判断状态 var listObj = new List(); listObj.Add(model.InstallationCalibration); - listObj.Add(model.PipingPressuretest); - listObj.Add(model.PipingLeak); + //listObj.Add(model.PipingPressuretest); + //listObj.Add(model.PipingLeak); listObj.Add(model.PipingBlowing); listObj.Add(model.Looptest); //listObj.Add(model.Calibration); //全是NA或Completed 状态是Completed - if (listObj.Where(x => x == "NA" || x == "Completed").ToList().Count == 5) + if (listObj.Where(x => x == "NA" || x == "Completed").ToList().Count == 3) { model.FINAL_Status = "Completed"; } //如果全是NA或Not Start 就是 Not Start - else if (listObj.Where(x => x == "NA" || x == "Not Start").ToList().Count == 5) + else if (listObj.Where(x => x == "NA" || x == "Not Start").ToList().Count == 3) { model.FINAL_Status = "Not Start"; } @@ -123,8 +123,8 @@ namespace FineUIPro.Web.Transfer newModel.Subsystem = txtSubsystem.Text; newModel.Test_Package = txtTest_Package.Text; newModel.InstallationCalibration = ddlInstallationCalibration.SelectedValue; - newModel.PipingPressuretest = ddlPipingPressuretest.SelectedValue; - newModel.PipingLeak = ddlPipingLeak.SelectedValue; + //newModel.PipingPressuretest = ddlPipingPressuretest.SelectedValue; + //newModel.PipingLeak = ddlPipingLeak.SelectedValue; newModel.PipingBlowing = ddlPipingBlowing.SelectedValue; newModel.Looptest = ddlLooptest.SelectedValue; //newModel.Calibration = ddlCalibration.SelectedValue; diff --git a/SGGL/FineUIPro.Web/Transfer/InstrumentationEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/InstrumentationEdit.aspx.designer.cs index 2f26b40a..010b72ff 100644 --- a/SGGL/FineUIPro.Web/Transfer/InstrumentationEdit.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/InstrumentationEdit.aspx.designer.cs @@ -95,24 +95,6 @@ namespace FineUIPro.Web.Transfer /// protected global::FineUIPro.DropDownList ddlInstallationCalibration; - /// - /// ddlPipingPressuretest 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.DropDownList ddlPipingPressuretest; - - /// - /// ddlPipingLeak 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.DropDownList ddlPipingLeak; - /// /// ddlPipingBlowing 控件。 /// diff --git a/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx b/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx index ff2cc19f..fc6e24b4 100644 --- a/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx +++ b/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx @@ -46,14 +46,15 @@ - + - + <%----%> + <%----%> - + @@ -154,7 +155,7 @@ - + @@ -178,7 +179,7 @@ - + @@ -197,7 +198,7 @@ <%----%> - + @@ -223,9 +224,9 @@ - + - + @@ -254,7 +255,7 @@ diff --git a/SGGL/FineUIPro.Web/Transfer/PunchlistFromEdit.aspx b/SGGL/FineUIPro.Web/Transfer/PunchlistFromEdit.aspx index baa61888..df04f1b5 100644 --- a/SGGL/FineUIPro.Web/Transfer/PunchlistFromEdit.aspx +++ b/SGGL/FineUIPro.Web/Transfer/PunchlistFromEdit.aspx @@ -17,7 +17,7 @@ - + @@ -27,7 +27,7 @@ - + @@ -42,7 +42,7 @@ - + @@ -51,7 +51,7 @@ - + <%----%> @@ -60,10 +60,11 @@ - + - + <%----%> + @@ -73,22 +74,22 @@ - + - + - + - + @@ -134,7 +135,7 @@ - + diff --git a/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx b/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx index 787bac49..ad5e4d9a 100644 --- a/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx +++ b/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx @@ -90,7 +90,7 @@ - diff --git a/SGGL/FineUIPro.Web/Transfer/StaticEquipmentEdit.aspx b/SGGL/FineUIPro.Web/Transfer/StaticEquipmentEdit.aspx index 8ead1e0a..868e9377 100644 --- a/SGGL/FineUIPro.Web/Transfer/StaticEquipmentEdit.aspx +++ b/SGGL/FineUIPro.Web/Transfer/StaticEquipmentEdit.aspx @@ -53,7 +53,7 @@ - + diff --git a/SGGL/WebAPI/WebAPI.csproj.user b/SGGL/WebAPI/WebAPI.csproj.user index df2b89c2..71396b97 100644 --- a/SGGL/WebAPI/WebAPI.csproj.user +++ b/SGGL/WebAPI/WebAPI.csproj.user @@ -1,7 +1,7 @@  - Release|Any CPU + Debug|Any CPU true