From a2a57963e160a319276c5c8499f16c9809056e4c Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期日, 17 十一月 2024 21:54:55 +0800 Subject: [PATCH] 修改资产表 --- Service/HStation.Service.Assets.Core/05-service/00-core/03-helper/DbFirstHelper.cs | 64 ++++++++++++++++++++++++-------- 1 files changed, 48 insertions(+), 16 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/05-service/00-core/03-helper/DbFirstHelper.cs b/Service/HStation.Service.Assets.Core/05-service/00-core/03-helper/DbFirstHelper.cs index 6bd802f..87c21a1 100644 --- a/Service/HStation.Service.Assets.Core/05-service/00-core/03-helper/DbFirstHelper.cs +++ b/Service/HStation.Service.Assets.Core/05-service/00-core/03-helper/DbFirstHelper.cs @@ -42,41 +42,73 @@ var typeList = new List<Type>() { typeof(Entity.AssetsPumpGroup), - typeof(Entity.AssetsPumpGroupAndMainMap), + typeof(Entity.AssetsPumpGroupAndMainMapping), typeof(Entity.AssetsPumpMain), - typeof(Entity.AssetsPumpMainAndPartMap), + typeof(Entity.AssetsPumpMainAndPartMapping), typeof(Entity.AssetsPumpPartMain), typeof(Entity.AssetsPumpPropContent), typeof(Entity.AssetsPumpSeries), typeof(Entity.AssetsPumpType), + typeof(Entity.AssetsPumpSeriesTypeMapping), + typeof(Entity.AssetsPumpSeriesManufacturerMapping), + + //闃�闂� typeof(Entity.AssetsValveMain), typeof(Entity.AssetsValveSeries), + typeof(Entity.AssetsValveCoefficient), + + //寮ご typeof(Entity.AssetsElbowMain), typeof(Entity.AssetsElbowSeries), + typeof(Entity.AssetsElbowCoefficient), + + //涓夐�� typeof(Entity.AssetsThreelinkMain), typeof(Entity.AssetsThreelinkSeries), + typeof(Entity.AssetsThreelinkCoefficient), + + //鍥涢�� typeof(Entity.AssetsFourlinkMain), typeof(Entity.AssetsFourlinkSeries), + typeof(Entity.AssetsFourlinkCoefficient), + + //绠¢亾 typeof(Entity.AssetsPipeMain), typeof(Entity.AssetsPipeSeries), + typeof(Entity.AssetsPipeCoefficient), + + //鍠峰ご typeof(Entity.AssetsSprinklerMain), typeof(Entity.AssetsSprinklerSeries), + typeof(Entity.AssetsSprinklerCoefficient), + + //鍘傚晢 typeof(Entity.AssetsManufacturer), typeof(Entity.AssetsManufacturerMapping), - typeof(Entity.AssetsUserDefined), - typeof(Entity.AssetsPipeRoughnessCoefficient), - typeof(Entity.AssetsPumpTypeSeriesMap), - typeof(Entity.AssetsExchangerMain), - typeof(Entity.AssetsExchangerMainAndPartMap), - typeof(Entity.AssetsExchangerPartMain), - typeof(Entity.AssetsExchangerPropContent), - typeof(Entity.AssetsExchangerSeries), - typeof(Entity.AssetsCompressorPartMain), - typeof(Entity.AssetsCompressorMain), - typeof(Entity.AssetsCompressorMainAndPartMap), - typeof(Entity.AssetsCompressorPropContent), - typeof(Entity.AssetsCompressorSeries), - typeof(Entity.AssetsValveCoefficient), + + //鑷畾涔� + typeof(Entity.AssetsUserDefined), + + //绌哄帇鏈� + typeof(Entity.AssetsExchangerMain), + typeof(Entity.AssetsExchangerMainAndPartMapping), + typeof(Entity.AssetsExchangerPartMain), + typeof(Entity.AssetsExchangerPropContent), + typeof(Entity.AssetsExchangerSeries), + typeof(Entity.AssetsExchangerCoefficient), + + //鎹㈢儹鍣� + typeof(Entity.AssetsCompressorPartMain), + typeof(Entity.AssetsCompressorMain), + typeof(Entity.AssetsCompressorMainAndPartMapping), + typeof(Entity.AssetsCompressorPropContent), + typeof(Entity.AssetsCompressorSeries), + typeof(Entity.AssetsCompressorCoefficient), + + //鎴愬璁惧 + typeof(Entity.AssetsPackageMain), + typeof(Entity.AssetsPackagePumpMapping), + typeof(Entity.AssetsPackageSeries), }; using (var db = new SqlSugarClient(connectConfig)) -- Gitblit v1.9.3