You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/Account/Files/DCHN23110529/20231227152603_5252.sql

114 lines
3.6 KiB
SQL

select * from Sys_Menu where MenuName like '%库存%'
select distinct ColumnCNName from Sys_USERCOLUMNSET where Menu_Id=105
select * from Sys_USERCOLUMNSET where Menu_Id=105
and ColumnCNName in(
'报检号','合同号','申报计量单位','申报数量','进境备案申报日期','接到计划时间'
,'应付仓储费对象','底账ID'
)
update Sys_USERCOLUMNSET set hidden=1 where Menu_Id=105
and ColumnCNName in(
'报检号','合同号','申报计量单位','申报数量','进境备案申报日期','接到计划时间'
,'应付仓储费对象','底账ID')
select distinct ColumnCNName from Sys_USERCOLUMNSET where Menu_Id=7201
select * from Sys_USERCOLUMNSET where Menu_Id=7201
and ColumnCNName in(
'包装','原箱号','标签','托盘','客户订单号','商品海关编码','底账ID','REINFORCE'
) or FieldName ='REINFORCE'
update Sys_USERCOLUMNSET set hidden=1 where Menu_Id=7201
and ColumnCNName in(
'包装','原箱号','标签','托盘','客户订单号','商品海关编码','底账ID'
)or FieldName ='REINFORCE'
select distinct ColumnCNName from Sys_USERCOLUMNSET where Menu_Id=1129
select * from Sys_USERCOLUMNSET where Menu_Id=1129
and ColumnCNName in(
'报检号','报关金额_单柜估算','报关金额_入库通知','合同号','进境备案申报日期','船名','航次','等级'
)
update Sys_USERCOLUMNSET set hidden=1 where Menu_Id=1129
and ColumnCNName in(
'报检号','报关金额_单柜估算','报关金额_入库通知','合同号','进境备案申报日期','船名','航次','等级'
)
select distinct ColumnCNName from Sys_USERCOLUMNSET where Menu_Id=1179
select * from Sys_USERCOLUMNSET where Menu_Id=1179
and ColumnCNName in(
'原货主','新货主','新费率起始日期','使用新费率起始日期'
)
update Sys_USERCOLUMNSET set hidden=1 where Menu_Id=1179
and ColumnCNName in(
'原货主','新货主','新费率起始日期','使用新费率起始日期'
)
select distinct ColumnCNName from Sys_USERCOLUMNSET where Menu_Id=7207
select * from Sys_USERCOLUMNSET where Menu_Id=7207
and ColumnCNName in(
'最初入库日期','件数2','件数3','包装'
)
update Sys_USERCOLUMNSET set hidden=1 where Menu_Id=7207
and ColumnCNName in(
'最初入库日期','件数2','件数3','包装'
)
select distinct ColumnCNName from Sys_USERCOLUMNSET where Menu_Id=7209
select * from Sys_USERCOLUMNSET where Menu_Id in (7209,7211)
and ColumnCNName in(
'最初入库日期','件数2','件数3','包装'
)
update Sys_USERCOLUMNSET set hidden=1 where Menu_Id in (7209,7211)
and ColumnCNName in(
'最初入库日期','件数2','件数3','包装'
)
select distinct ColumnCNName from Sys_USERCOLUMNSET where Menu_Id=112
select * from Sys_USERCOLUMNSET where Menu_Id in (112)
and ColumnCNName in(
'计划吨位','计划指定件数2','计划指定件数3','计划指定净重(千克)','计划指定体积(立方米)'
,'是否指定件重','结算方式','客户订单号','仓库联系人','outplanauditvalue'
)
update Sys_USERCOLUMNSET set hidden=1 where Menu_Id in (112)
and ColumnCNName in(
'计划吨位','计划指定件数2','计划指定件数3','计划指定净重(千克)','计划指定体积(立方米)'
,'是否指定件重','结算方式','客户订单号','仓库联系人','outplanauditvalue'
)
select distinct ColumnCNName from Sys_USERCOLUMNSET where Menu_Id in(1123,7204)
select * from Sys_USERCOLUMNSET where Menu_Id in(1123,7204)
and ColumnCNName in(
'业务来源','提货单位','结算方式','是否结束','费用状态','业务状态','车型','车自重','件数2','件数3'
)
update Sys_USERCOLUMNSET set hidden=1 where Menu_Id in(1123,7204)
and ColumnCNName in(
'业务来源','提货单位','结算方式','是否结束','费用状态','业务状态','车型','车自重','件数2','件数3'
)
select distinct ColumnCNName from Sys_USERCOLUMNSET where Menu_Id in(1144,1126,1145)
select * from Sys_USERCOLUMNSET where Menu_Id in(1144,1126,1145)
and ColumnCNName in(
'货物大类','船名','航次','贸易方式'
)
update Sys_USERCOLUMNSET set hidden=1 where Menu_Id in(1144,1126,1145)
and ColumnCNName in(
'货物大类','船名','航次','贸易方式'
)