表修改.sql
@@ -1,6 +1,112 @@
USE [zhengcaioa]
GO
/****** Object:  Table [dbo].[Liaotian_shoucang]    Script Date: 2021/7/8 8:49:01 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Liaotian_shoucang](
   [Id] [nvarchar](50) NOT NULL,
   [Liaotian_id] [nvarchar](50)  NULL,
   [rec_status] [nvarchar](1) NOT NULL,
   [creater] [nvarchar](50) NOT NULL,
   [createtime] [datetime] NOT NULL,
   [modifier] [nvarchar](50) NOT NULL,
   [modifytime] [datetime] NOT NULL,
 CONSTRAINT [PK_Liaotian_shoucang] PRIMARY KEY CLUSTERED
(
   [Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Liaotian_shoucang] ADD  DEFAULT ('a') FOR [rec_status]
GO
ALTER TABLE [dbo].[Liaotian_shoucang] ADD  DEFAULT ('1') FOR [creater]
GO
ALTER TABLE [dbo].[Liaotian_shoucang] ADD  CONSTRAINT [DF_Liaotian_shoucang_createtime]  DEFAULT (getdate()) FOR [createtime]
GO
ALTER TABLE [dbo].[Liaotian_shoucang] ADD  DEFAULT ('1') FOR [modifier]
GO
ALTER TABLE [dbo].[Liaotian_shoucang] ADD  CONSTRAINT [DF_Liaotian_shoucang_modifytime]  DEFAULT (getdate()) FOR [modifytime]
GO
ALTER TABLE [dbo].[Liaotian] ADD  [chushu_status] [nvarchar](1)   NULL DEFAULT ('D')
GO
update  [dbo].[Liaotian]  set  [chushu_status] = 'D'
GO
USE [zhengcaioa]
GO
/****** Object:  Table [dbo].[order_banci_order]    Script Date: 2021/7/5 14:33:24 ******/
SET ANSI_NULLS ON
GO