202311122 脚本整理

This commit is contained in:
2023-11-22 14:30:00 +08:00
parent 55b52e460a
commit c3d072b687
23 changed files with 0 additions and 0 deletions
@@ -0,0 +1,18 @@
update PHTGL_ContractTrack set TotalCostFixedComprehensiveUnitPrice =ROUND(TotalCostFixedComprehensiveUnitPrice ,2) where TotalCostFixedComprehensiveUnitPrice is not null ;
go
update PHTGL_ContractTrack set MainMaterialCost =ROUND(MainMaterialCost ,2) where MainMaterialCost is not null ;
go
update PHTGL_ContractTrack set TotalPrice =ROUND(TotalPrice ,2) where TotalPrice is not null ;
alter table dbo.PHTGL_ContractTrack
alter column TotalCostFixedComprehensiveUnitPrice decimal(18, 2) null
go
alter table dbo.PHTGL_ContractTrack
alter column MainMaterialCost decimal(18, 2) null
go
alter table dbo.PHTGL_ContractTrack
alter column TotalPrice decimal(18, 2) null
go