From 3f24b14f07ef82526b2e1d56cc808f226e91cbb9 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期五, 20 十二月 2024 21:47:33 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- Service/HStation.Service.Assets.Core/05-service/00-core/03-helper/DbFirstHelper.cs | 109 ++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 92 insertions(+), 17 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 40c17a7..f61351b 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,116 @@ 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.AssetsValveFactor), + typeof(Entity.AssetsValvePartMain), + typeof(Entity.AssetsValveMainAndPartMapping), + + //寮ご 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.AssetsManufacturerSeries), + + //鑷畾涔� + typeof(Entity.AssetsUserDefined), + + //鎴愬璁惧 + typeof(Entity.AssetsPackageMain), + typeof(Entity.AssetsPackagePumpMapping), + typeof(Entity.AssetsPackageSeries), + typeof(Entity.AssetsPackageMfrMapping), + typeof(Entity.AssetsPackagePartMain), + typeof(Entity.AssetsPackageMainAndPartMapping), + typeof(Entity.AssetsPackagePropContent), + + //闂峰ご + typeof(Entity.AssetsBluntheadMain), + typeof(Entity.AssetsBluntheadSeries), + typeof(Entity.AssetsBluntheadCoefficient), + + //姘存睜 + typeof(Entity.AssetsTankMain), + typeof(Entity.AssetsTankSeries), + typeof(Entity.AssetsTankFactor), + typeof(Entity.AssetsTankPartMain), + typeof(Entity.AssetsTankMainAndPartMapping), + + //娑堢伀鏍� + typeof(Entity.AssetsHydrantMain), + typeof(Entity.AssetsHydrantSeries), + typeof(Entity.AssetsHydrantCoefficient), + + //杩囨浮浠� + typeof(Entity.AssetsTranslationMain), + typeof(Entity.AssetsTranslationSeries), + typeof(Entity.AssetsTranslationCoefficient), + + //姘磋〃 + typeof(Entity.AssetsMeterSeries), + typeof(Entity.AssetsMeterMain), + typeof(Entity.AssetsMeterFactor), + + //娴侀噺璁� + typeof(Entity.AssetsFlowmeterSeries), + typeof(Entity.AssetsFlowmeterMain), + typeof(Entity.AssetsFlowmeterFactor), + + //鍘嬪姏琛� + typeof(Entity.AssetsPressmeterSeries), + typeof(Entity.AssetsPressmeterMain), + typeof(Entity.AssetsPressmeterFactor), + + //鎹㈢儹鍣� + typeof(Entity.AssetsExchangerSeries), + typeof(Entity.AssetsExchangerMain), + typeof(Entity.AssetsExchangerFactor), + + //鍘嬬缉鏈� + typeof(Entity.AssetsCompressorSeries), + typeof(Entity.AssetsCompressorMain), + typeof(Entity.AssetsCompressorFactor), + + //鍐峰嵈濉� + typeof(Entity.AssetsCoolingSeries), + typeof(Entity.AssetsCoolingMain), + typeof(Entity.AssetsCoolingFactor), + }; using (var db = new SqlSugarClient(connectConfig)) { -- Gitblit v1.9.3