IF NOT EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[mps_system_operation_log]') AND type = 'U')
CREATE TABLE [dbo].[mps_system_operation_log]
(
    [op_id] int NOT NULL IDENTITY(1, 1),
    [op_cmpid] int NULL DEFAULT((0)),
    [op_operation] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [op_objtype] varchar(20) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [op_objid] int NULL DEFAULT((9)),
    [op_objid2] int NULL DEFAULT((0)),
    [op_tid] bigint NULL DEFAULT((0)),
    [op_tcaption] nvarchar(200) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [op_reason] nvarchar(1000) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [op_useruid] int NULL DEFAULT((0)),
    [op_branch] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [op_bcid] int NULL DEFAULT((0)),
    [op_depart] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [op_dpid] int NULL DEFAULT((0)),
    [op_name] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL DEFAULT(''),
    [op_date] datetime NULL DEFAULT(getdate()),
    CONSTRAINT [PK_mps_system_operation_log] PRIMARY KEY ([op_id] ASC)
)