提交当前本机整理版本
This commit is contained in:
@@ -248,4 +248,32 @@ namespace Lskj.Control.Model
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 创��
|
||||
/// 创建修改记录表
|
||||
/// </summary>
|
||||
public static void CreateModificationRecordTable()
|
||||
{
|
||||
if (!Lskj.Business.Impl.BaseImpl.HasExistsTable("P_SystemAuditChangeLog"))
|
||||
{
|
||||
string sqlValue = string.Format(@"CREATE TABLE P_SystemAuditChangeLog (
|
||||
id BIGINT IDENTITY(1,1) NOT NULL PRIMARY KEY,
|
||||
orderNumber VARCHAR(50) NOT NULL, -- 单号
|
||||
fieldName NVARCHAR(500) NOT NULL, -- 字段名称
|
||||
oldValue NVARCHAR(500) NULL, -- 旧值(改动前)
|
||||
newValue NVARCHAR(500) NULL, -- 新值(改动后)
|
||||
stepCode INT NOT NULL, -- 步骤号
|
||||
operatorId int NOT NULL -- 人员id(改动人)
|
||||
);");
|
||||
BaseImpl.ExecSqlValue(sqlValue);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user