SVN r1128

SVN-Revision: r1128
This commit is contained in:
tdx
2026-03-02 01:58:02 +00:00
parent 7b3676a90d
commit 859eac175d
+5
View File
@@ -1,4 +1,5 @@
using Lskj.Data.Api.BLL;
using Lskj.Model;
using Newtonsoft.Json;
using System;
using System.Collections;
@@ -110,6 +111,10 @@ namespace Lskj.Core
mep.ContextMenuId = contextMenuId;
mep.MasterData = masterData;
mep.AcType = actionType;
mep.LoginId = ERPInfo.Instance.UserId;
mep.LoginName = ERPInfo.Instance.UserName;
mep.Password = ERPInfo.Instance.InPassWord;
string Autogrowcolumn = SqlHelper.ExecuteScalar(string.Format("SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.columns WHERE TABLE_NAME='{0}' AND COLUMNPROPERTY(OBJECT_ID('{0}'),COLUMN_NAME,'IsIdentity')=1", this.tabName)) + ""; ;//自增长列
if (Autogrowcolumn.Equals(this.primaryKey, StringComparison.CurrentCultureIgnoreCase))
{