duheng
2024-11-26 6fcff08e4f76bce6076319b5b3a2456c2d94c5fe
Service/HStation.Service.Assets.Core/05-service/00-core/03-helper/DbFirstHelper.cs
@@ -42,41 +42,77 @@
                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.AssetsPipeLineCoefficient),
                   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.AssetsManufacturerSeries),
                   //自定义
                    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),
                   typeof(Entity.AssetsPackageSeriesManufacturerMapping),
                   typeof(Entity.AssetsPackagePartMain),
                   typeof(Entity.AssetsPackageMainAndPartMapping),
                   typeof(Entity.AssetsPackagePropContent),
                       };
                using (var db = new SqlSugarClient(connectConfig))