guid数据库手动配置

--select * from TGridColumn where GridID='GridOrderItem-FNR299'


declare @GridID nvarchar(50) --GridID

set @GridID='GridOrderItem-FNR310'

update TGridColumn set HeaderText='产品类型',ColumnNumber=20 where GridID=@GridID and DataField='Pro_title'
update TGridColumn set HeaderText='产品型号',ColumnNumber=30 where GridID=@GridID and DataField='Pro_model'
update TGridColumn set HeaderText='产品规格',ColumnNumber=40 where GridID=@GridID and DataField='Pro_specs'
update TGridColumn set HeaderText='料号',ColumnNumber=50 where GridID=@GridID and DataField='Pro_code'
update TGridColumn set HeaderText='单位',ColumnNumber=60 where GridID=@GridID and DataField='Pro_unit'

update TGridColumn set HeaderText='台套数量',ColumnNumber=70 where GridID=@GridID and DataField='Pro_number'
update TGridColumn set HeaderText='组数' ,ColumnNumber=80 ,IsOpen=1,ISEdit=1 where GridID=@GridID and DataField='Group_number'

update TGridColumn set HeaderText='方案单元数' ,ColumnNumber=90 ,IsOpen=1,ISEdit=1 where GridID=@GridID and DataField='Unit_number'

update TGridColumn set HeaderText='方案总单元数' ,ColumnNumber=100 ,IsOpen=1,ISEdit=1 where GridID=@GridID and DataField='SumUnit_number'

update TGridColumn set HeaderText='综合台数' ,ColumnNumber=110 ,IsOpen=1,ISEdit=1 where GridID=@GridID and DataField='Syn_number'

update TGridColumn set HeaderText='甲供物资' ,ColumnNumber=120 ,IsOpen=1,ISEdit=1,IsRequired=1 where GridID=@GridID and DataField='PartyAMaterials'
update TGridColumn set HeaderText='空柜' ,ColumnNumber=130 ,IsOpen=1,ISEdit=1 ,IsRequired=1 where GridID=@GridID and DataField='EmptyBox'
update TGridColumn set HeaderText='备用投微机' ,ColumnNumber=140 ,IsOpen=1,ISEdit=1 ,IsRequired=1 where GridID=@GridID and DataField='BackUpMicroComputer'
update TGridColumn set HeaderText='DTU' ,ColumnNumber=150 ,IsOpen=1,ISEdit=1 ,IsRequired=1 where GridID=@GridID and DataField='DTU'
update TGridColumn set HeaderText='备注' ,ColumnNumber=160 where GridID=@GridID and DataField='Pro_remark'

 

posted @ 2020-04-10 08:26  咖啡无眠  阅读(188)  评论(0编辑  收藏  举报