/* 这里写创建或修改表字段的脚本 */

 ALTER TABLE sys_code_gen_config ADD   ShowTitleMinWidth     nvarchar(50)  -- 增加 页面列显示最小宽度【Editby liuwq,2024-04-18】
  ALTER TABLE sys_code_gen_config ADD   WhetherUnionKey     nvarchar(5)  -- 增加 是否是联合主键【Editby liuwq,2024-04-18】
  
  
  
  alter table  wms_stock_quan
   add LockReason nvarchar(500),
   LockUser nvarchar(500),
   LockTime datetime 
   
   
   EXEC sp_rename 'wms_stock_quan.FreezeStatus', 'LockStatus', 'COLUMN';

   
   EXEC sp_rename 'wms_stock_quan.FreezeReason', 'OperReason', 'COLUMN';

  
   
   EXEC sp_rename 'wms_stock_quan.FreezeUser', 'OperUser', 'COLUMN';
  
   
   EXEC sp_rename 'wms_stock_quan.FreezeTime', 'OperTime', 'COLUMN';
 
   
   
   EXEC sp_rename 'wms_record_trans.SourceFreezeStatus', 'SourceLockStatus', 'COLUMN';
 
  
   
   EXEC sp_rename 'wms_record_trans.ToFreezeStatus', 'ToLockStatus', 'COLUMN';
     
   
   
     alter table  wms_record_trans
   add LockReason nvarchar(500),
   LockUser nvarchar(500),
   LockTime datetime 
   


 EXEC sp_rename 'wms_record_trans.FreezeReason', 'OperReason', 'COLUMN';

  
   
   EXEC sp_rename 'wms_record_trans.FreezeUser', 'OperUser', 'COLUMN';
  
   
   EXEC sp_rename 'wms_record_trans.FreezeTime', 'OperTime', 'COLUMN';