chore(AdminCost): 移除 COS4 数据结构迁移的一次性脚本与参考资料

This commit is contained in:
lianjianwei2024
2026-11-01 15:27:27 +08:00
parent 386e1ad624
commit f0b1033b12
69 changed files with 5936 additions and 42964 deletions

738
_analysis/yd_attrs.json Normal file
View File

@@ -0,0 +1,738 @@
{
"dir": "D:/PricingReview/_analysis/yd",
"xml_files": 32,
"elements": {
"AttrInfoItem": {
"_files": 32,
"attrs": {
"Code": 374,
"Name": 374,
"Remark": 374,
"Value": 374
}
},
"AddiInfoItem": {
"_files": 32,
"attrs": {
"Code": 4539,
"Name": 4539,
"Remark": 4539,
"Value": 4539
}
},
"AddiCost": {
"_files": 32,
"attrs": {
"Code": 493,
"Name": 493,
"Total": 493
}
},
"SummaryOfCost": {
"_files": 32,
"attrs": {
"ChangeCost": 35,
"ClaimForLossAndExpenses": 35,
"Construction": 35,
"ConvertedIntoRMB": 35,
"CostForHSE": 35,
"DayWorkRate": 35,
"DivisionalAndElementalWorks": 35,
"Equipment": 35,
"ForeignCurrency": 35,
"Installation": 35,
"Labor": 35,
"LawsRegulationsAndPolicyChangeProjects": 35,
"Machine": 35,
"MainContractorAttendance": 35,
"MainMaterial": 35,
"MainMaterialEquipment": 35,
"Material": 35,
"Overhead": 35,
"Preliminaries": 35,
"Profit": 35,
"ProvisionalMaterialEquipment": 4,
"ProvisionalSums": 35,
"SpecialtyProvisionalPrice": 35,
"SundryCosts": 35,
"Tax": 35,
"Total": 35
}
},
"SummaryOfBasicCost": {
"_files": 32,
"attrs": {
"CostForHSE": 976,
"DivisionalAndElementalWorks": 976,
"Equipment": 976,
"Labor": 976,
"Machine": 976,
"MainMaterial": 976,
"MainMaterialEquipment": 976,
"Material": 976,
"Overhead": 976,
"Preliminaries": 976,
"Profit": 976,
"ProvisionalMaterialEquipment": 976,
"ProvisionalSums": 976,
"SundryCosts": 976,
"Tax": 976
}
},
"ExpressElement": {
"_files": 3,
"attrs": {
"Area": 36,
"BuildingComponents": 36,
"Explain": 36,
"Express": 36,
"Kind": 36,
"OrderNumber": 36,
"Quantity": 36,
"Remark": 36
}
},
"LabourMaterialsEquipmentsMachinesElement": {
"_files": 4,
"attrs": {
"Express": 465,
"Number": 465,
"Quantity": 465,
"Remark": 465
}
},
"UnitPriceCalculationOfItem": {
"_files": 31,
"attrs": {
"Code": 500,
"Name": 500,
"QtyFormula": 500,
"Rate": 500,
"Remark": 500,
"Total": 500
}
},
"Norm": {
"_files": 3,
"attrs": {
"CalculationKind": 26,
"Chapter": 26,
"CostKind": 26,
"EfficiencyKind": 26,
"EquipmentPrice": 26,
"EquipmentTotal": 26,
"IncFeeKind": 26,
"IsNorm": 26,
"Name": 26,
"NormIdentity": 26,
"Number": 26,
"Price": 26,
"Quantity": 26,
"Remark": 26,
"Specialty": 26,
"Total": 26,
"Type": 26,
"Unit": 26,
"Volume": 26
}
},
"NormAdjustmentList": {
"_files": 1,
"attrs": {
"OrderNumber": 63,
"Value": 63
}
},
"WorkContent": {
"_files": 3,
"attrs": {
"Name": 34,
"Remark": 34,
"Total": 34
}
},
"WorkElement": {
"_files": 3,
"attrs": {
"Attr": 10,
"CalcType": 10,
"CalculationKind": 10,
"Code": 10,
"CostKind": 10,
"EquipmentPrice": 10,
"EquipmentTotal": 10,
"Kind": 10,
"ListingIdentity": 10,
"LockKind": 10,
"Major": 10,
"Name": 10,
"Number": 10,
"Price": 10,
"PriceHigh": 10,
"PriceType": 10,
"QtyFormula": 10,
"Quantity": 10,
"QuantityCalculationRules": 10,
"Rate": 10,
"Remark": 10,
"Specialty": 10,
"SupplementaryList": 10,
"Total": 10,
"Type": 10,
"Unit": 10,
"WorkContent": 10
}
},
"DivisionalWorks": {
"_files": 1,
"attrs": {
"Attr": 7,
"ChapterKind": 7,
"Code": 7,
"Kind": 7,
"Name": 7,
"Number": 7,
"Quantity": 7,
"QuantityCalculationRules": 7,
"Remark": 7,
"TechnicalAndEconomicIndex": 7,
"Total": 7,
"Unit": 7,
"WorkContent": 7
}
},
"UnitWorksPreliminaryWorkElement": {
"_files": 31,
"attrs": {
"CalcType": 810,
"Code": 810,
"InitialFee": 810,
"InitialPercent": 810,
"Kind": 810,
"LastFee": 810,
"LastPercent": 810,
"ListingIdentity": 810,
"LockKind": 810,
"MediumFee": 810,
"MediumPercent": 810,
"Name": 810,
"Number": 810,
"Price": 810,
"PriceType": 810,
"QtyFormula": 810,
"Quantity": 810,
"Rate": 810,
"Remark": 810,
"Specialty": 810,
"SupplementaryList": 810,
"Total": 810,
"Unit": 810,
"WorkContent": 810
}
},
"SundryCostsItem": {
"_files": 32,
"attrs": {
"Code": 68,
"Kind": 68,
"Name": 68,
"Price": 68,
"QtyFormula": 68,
"Quantity": 68,
"Rate": 68,
"Remark": 68,
"Total": 68,
"Unit": 68
}
},
"SundryCosts": {
"_files": 32,
"attrs": {
"Code": 32,
"Name": 32,
"Remark": 32,
"Total": 32
}
},
"ProvisionalSumsItem": {
"_files": 32,
"attrs": {
"Kind": 128,
"Name": 128,
"Price": 128,
"QtyFormula": 128,
"Quantity": 128,
"Rate": 128,
"Remark": 128,
"Total": 128,
"Unit": 128
}
},
"ProvisionalSumsGroup": {
"_files": 32,
"attrs": {
"Kind": 96,
"Name": 96,
"Remark": 96,
"Total": 96
}
},
"ProvisionalSums": {
"_files": 32,
"attrs": {
"Code": 32,
"Name": 32,
"Remark": 32,
"Total": 32
}
},
"ProvisionalMaterialEquipment": {
"_files": 32,
"attrs": {
"Code": 32,
"Name": 32,
"Remark": 32,
"Total": 32
}
},
"UnitWorksSummaryItem": {
"_files": 31,
"attrs": {
"ChapterKind": 124,
"Code": 124,
"Kind": 124,
"Name": 124,
"Number": 124,
"QtyFormula": 124,
"Quantity": 124,
"Rate": 124,
"Ratios": 124,
"Remark": 124,
"TechnicalAndEconomicIndex": 124,
"Total": 124,
"Unit": 124
}
},
"UnitWorksSummaryGroup": {
"_files": 31,
"attrs": {
"ChapterKind": 62,
"Code": 62,
"Kind": 62,
"Name": 62,
"Number": 62,
"Quantity": 62,
"Ratios": 62,
"Remark": 62,
"TechnicalAndEconomicIndex": 62,
"Total": 62,
"Unit": 62
}
},
"LabourMaterialsEquipmentsMachinesSummary": {
"_files": 4,
"attrs": {
"AddiKind": 156,
"Character": 156,
"Class": 156,
"Concrete": 156,
"Delivery": 156,
"ExtKind": 156,
"Kind": 156,
"Location": 156,
"LossRate": 156,
"MainMaterial": 156,
"Name": 156,
"NoTaxOrgPrice": 156,
"NoTaxOrgTotal": 156,
"NoTaxPrice": 156,
"NoTaxPriceExpress": 156,
"NoTaxTotal": 156,
"Number": 156,
"PriceSource": 156,
"ProducingArea": 156,
"Provider": 156,
"ProvisionalMaterial": 156,
"Quantity": 156,
"Remark": 156,
"Specification": 156,
"Supplier": 156,
"TaxOrgPrice": 156,
"TaxOrgTotal": 156,
"TaxPrice": 156,
"TaxPriceExpress": 156,
"TaxRate": 156,
"TaxTotal": 156,
"Unit": 156
}
},
"UnitWorks": {
"_files": 32,
"attrs": {
"AppliedRateFile": 62,
"AreaKind": 62,
"BillDataBase": 62,
"Code": 62,
"Explains": 62,
"FileName": 62,
"Name": 62,
"NormDataBase": 62,
"Number": 62,
"ProjectCategory": 62,
"ProjectType": 62,
"Purposes": 62,
"QuantityCalculationRules": 62,
"RangeOfCompilation": 62,
"Ratios": 62,
"Remark": 62,
"ResInfoPricingFile": 62,
"Scale": 62,
"ScaleName": 62,
"Segment": 62,
"Specialty": 62,
"TaxModel": 62,
"TechnicalAndEconomicIndex": 62,
"Total": 62,
"Unit": 62,
"ValuationModel": 62,
"WorkContent": 62
}
},
"SystemInfo": {
"_files": 1,
"attrs": {
"ID1": 1,
"ID2": 1,
"MakeDate1": 1,
"MakeDate2": 1
}
},
"Option": {
"_files": 1,
"attrs": {
"CostPrecision": 1,
"QuantityPrecision": 1,
"RatePrecision": 1,
"ResPrecision": 1
}
},
"ProjectInfo": {
"_files": 1,
"attrs": {
"Approver": 1,
"ApproverCertNo": 1,
"ApproverDate": 1,
"Authorizer": 1,
"CompileCompany": 1,
"CompileDate": 1,
"Compiler": 1,
"CompilerCertNo": 1,
"Contractor": 1,
"Designer": 1,
"ExamineDate": 1,
"Examiner": 1,
"ExaminerCertNo": 1,
"Total": 1
}
},
"TendereeInfo": {
"_files": 1,
"attrs": {
"Consultant": 1,
"ConsultantApproveDate": 1,
"ConsultantApprover": 1,
"ConsultantApproverCertNo": 1,
"ConsultantAuthorizer": 1,
"ConsultantCompileDate": 1,
"ConsultantCompiler": 1,
"ConsultantCompilerCertNo": 1,
"ConsultantExamineDate": 1,
"ConsultantExaminer": 1,
"ConsultantExaminerCertNo": 1,
"ConsultantUSCI": 1,
"Proxy": 1,
"ProxyApproveDate": 1,
"ProxyApprover": 1,
"ProxyApproverCertNo": 1,
"ProxyAuthorizer": 1,
"ProxyCompileDate": 1,
"ProxyCompiler": 1,
"ProxyCompilerCertNo": 1,
"ProxyExamineDate": 1,
"ProxyExaminer": 1,
"ProxyExaminerCertNo": 1,
"ProxyUSCI": 1,
"TenderApproveDate": 1,
"TenderApprover": 1,
"TenderApproverCertNo": 1,
"TenderAuthorizer": 1,
"TenderCompileDate": 1,
"TenderCompiler": 1,
"TenderCompilerCertNo": 1,
"TenderExamineDate": 1,
"TenderExaminer": 1,
"TenderExaminerCertNo": 1,
"TenderSumLimit": 1,
"TendereeName": 1
}
},
"BidderInfo": {
"_files": 1,
"attrs": {
"BidApproveDate": 1,
"BidApprover": 1,
"BidApproverCertNo": 1,
"BidAuthorizer": 1,
"BidCompileDate": 1,
"BidCompiler": 1,
"BidCompilerCertNo": 1,
"BidExamineDate": 1,
"BidExaminer": 1,
"BidExaminerCertNo": 1,
"BidName": 1,
"BidTotal": 1
}
},
"ProjectInstallationWorkCostSummaryItem": {
"_files": 1,
"attrs": {
"Code": 40,
"Kind": 40,
"Name": 40,
"Number": 40,
"QtyFormula": 40,
"Quantity": 40,
"Rate": 40,
"Ratios": 40,
"Remark": 40,
"TechnicalAndEconomicIndex": 40,
"Total": 40,
"Unit": 40
}
},
"ProjectInstallationWorkCostSummaryGroup": {
"_files": 1,
"attrs": {
"Code": 5,
"Kind": 5,
"Name": 5,
"Number": 5,
"Quantity": 5,
"Ratios": 5,
"Remark": 5,
"TechnicalAndEconomicIndex": 5,
"Total": 5,
"Unit": 5
}
},
"SectionalWorks": {
"_files": 1,
"attrs": {
"AreaKind": 2,
"BulidAuthorizer": 2,
"BulidUnit": 2,
"Code": 2,
"ConstructionType": 2,
"FileKind": 2,
"Name": 2,
"Number": 2,
"ProjectArea": 2,
"ProjectCategory": 2,
"ProjectSite": 2,
"ProjectType": 2,
"RangeOfCompilation": 2,
"Ratios": 2,
"Remark": 2,
"Scale": 2,
"ScaleName": 2,
"Segment": 2,
"StandardName": 2,
"StandardNumber": 2,
"StandardVersion": 2,
"TaxModel": 2,
"TechnicalAndEconomicIndex": 2,
"Total": 2,
"Unit": 2,
"ValuationModel": 2
}
},
"PreliminaryWorkElement": {
"_files": 1,
"attrs": {
"CalcType": 82,
"Code": 82,
"InitialFee": 82,
"InitialPercent": 82,
"Kind": 82,
"LastFee": 82,
"LastPercent": 82,
"ListingIdentity": 82,
"LockKind": 82,
"MediumFee": 82,
"MediumPercent": 82,
"Name": 82,
"Number": 82,
"Price": 82,
"QtyFormula": 82,
"Quantity": 82,
"Rate": 82,
"Remark": 82,
"Specialty": 82,
"SupplementaryList": 82,
"Total": 82,
"Unit": 82,
"WorkContent": 82
}
},
"PreliminaryDivisionalWorks": {
"_files": 1,
"attrs": {
"Code": 4,
"Kind": 4,
"Name": 4,
"Number": 4,
"Quantity": 4,
"Remark": 4,
"TechnicalAndEconomicIndex": 4,
"Total": 4,
"Unit": 4,
"WorkContent": 4
}
},
"SpecialtyProvisionalPrice": {
"_files": 1,
"attrs": {
"Code": 1,
"Name": 1,
"NoTaxTotal": 1,
"Remark": 1,
"Tax": 1,
"Total": 1
}
},
"DayWorkRateGroup": {
"_files": 1,
"attrs": {
"Code": 3,
"Name": 3,
"Remark": 3,
"Total": 3
}
},
"DayWorkRate": {
"_files": 1,
"attrs": {
"Code": 1,
"Name": 1,
"Remark": 1,
"Total": 1
}
},
"MainContractorAttendanceItem": {
"_files": 1,
"attrs": {
"Content": 3,
"Kind": 3,
"Name": 3,
"QtyFormula": 3,
"Quantity": 3,
"Rate": 3,
"Remark": 3,
"Total": 3
}
},
"MainContractorAttendance": {
"_files": 1,
"attrs": {
"Code": 1,
"Name": 1,
"Remark": 1,
"Total": 1
}
},
"LawsRegulationsAndPolicyChangeProjects": {
"_files": 1,
"attrs": {
"Code": 1,
"Name": 1,
"Remark": 1,
"Total": 1
}
},
"ChangeCost": {
"_files": 1,
"attrs": {
"Code": 1,
"Name": 1,
"Number": 1,
"Remark": 1,
"Total": 1
}
},
"ClaimsCost": {
"_files": 1,
"attrs": {
"Code": 1,
"Name": 1,
"Remark": 1,
"Total": 1
}
},
"Tax": {
"_files": 1,
"attrs": {
"CalBasis": 1,
"Code": 1,
"Name": 1,
"QtyFormula": 1,
"Rate": 1,
"Remark": 1,
"Total": 1
}
},
"ProjectInstallationWorkCost": {
"_files": 1,
"attrs": {
"Code": 1,
"ConvertedIntoRMB": 1,
"ForeignCurrency": 1,
"Name": 1,
"Number": 1,
"Ratios": 1,
"Remark": 1,
"Scale": 1,
"ScaleName": 1,
"TechnicalAndEconomicIndex": 1,
"Total": 1,
"Unit": 1
}
},
"ConstructionProject": {
"_files": 1,
"attrs": {
"AreaKind": 1,
"BulidAuthorizer": 1,
"BulidUnit": 1,
"ConstructionType": 1,
"Explains": 1,
"FileKind": 1,
"Name": 1,
"Number": 1,
"ProjectArea": 1,
"ProjectCategory": 1,
"ProjectSite": 1,
"ProjectType": 1,
"RangeOfCompilation": 1,
"Scale": 1,
"ScaleName": 1,
"StandardName": 1,
"StandardNumber": 1,
"StandardVersion": 1,
"TaxModel": 1,
"TechnicalAndEconomicIndex": 1,
"Unit": 1,
"ValuationModel": 1
}
}
}
}