提交当前本机整理版本

This commit is contained in:
cyf
2026-07-02 10:11:39 +00:00
parent c10a5d64c7
commit aacefa24f8
822 changed files with 196665 additions and 14263 deletions
+29 -1
View File
@@ -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);
}
}
}
}