diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserEntity.cs b/Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserEntity.cs
index 129796bf8..0d1e33017 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserEntity.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserEntity.cs
@@ -243,8 +243,8 @@ namespace Learun.Application.Organization
///
/// 是否已登录标记
///
- [Column("F_HAVELOGMARK")]
- public bool? F_HaveLogMark { get; set; }
+ //[Column("F_HAVELOGMARK")]
+ //public bool? F_HaveLogMark { get; set; }
#endregion
#region 扩展操作
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs
index 60500ac13..2f7c755f1 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs
@@ -603,7 +603,7 @@ namespace Learun.Application.Web.Controllers
else
{
//记录已登录标记
- userBll.UpdateHaveLogMark(userEntity.F_UserId);
+ //userBll.UpdateHaveLogMark(userEntity.F_UserId);
//记录ip
userBll.UpdateIp(GetIP(), userEntity.F_UserId);
OperatorHelper.Instance.AddLoginUser(userEntity.F_Account, "Learun_ADMS_6.1_PC", null);//写入缓存信息
@@ -1250,7 +1250,7 @@ namespace Learun.Application.Web.Controllers
{
return Fail("输入错误!");
}
- if (codeType == "firstlogin" && userEntity.F_HaveLogMark == true)
+ if (codeType == "firstlogin")
{
return Fail("当前用户非首次登录,请使用账号密码进行登录!");
}
@@ -1356,10 +1356,10 @@ namespace Learun.Application.Web.Controllers
{
return Fail("账户被系统锁定,请联系管理员!");
}
- if (userEntity.F_HaveLogMark == true)
- {
- return Fail("当前用户非首次登录,请使用账号密码进行登录!");
- }
+ //if (userEntity.F_HaveLogMark == true)
+ //{
+ // return Fail("当前用户非首次登录,请使用账号密码进行登录!");
+ //}
userEntity.LoginOk = true;
#region 写入日志
LogEntity logEntity = new LogEntity();
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs
index fd1b88a7b..00ddc3c9f 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs
@@ -2061,7 +2061,7 @@ namespace Learun.Application.Web.Controllers
{
return Fail("输入错误!");
}
- if (codeType == "firstlogin" && userEntity.F_HaveLogMark == true)
+ if (codeType == "firstlogin")
{
return Fail("当前用户非首次登录,请使用账号密码进行登录!");
}
@@ -2167,10 +2167,10 @@ namespace Learun.Application.Web.Controllers
{
return Fail("账户被系统锁定,请联系管理员!");
}
- if (userEntity.F_HaveLogMark == true)
- {
- return Fail("当前用户非首次登录,请使用账号密码进行登录!");
- }
+ //if (userEntity.F_HaveLogMark == true)
+ //{
+ // return Fail("当前用户非首次登录,请使用账号密码进行登录!");
+ //}
userEntity.LoginOk = true;
#region 写入日志
LogEntity logEntity = new LogEntity();
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/UserApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/UserApi.cs
index b968717f3..f02858fb6 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/UserApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/UserApi.cs
@@ -343,10 +343,10 @@ namespace Learun.Application.WebApi
{
return Fail("账户被系统锁定,请联系管理员!");
}
- if (userEntity.F_HaveLogMark == true)
- {
- return Fail("当前用户非首次登录,请使用账号密码进行登录!");
- }
+ //if (userEntity.F_HaveLogMark == true)
+ //{
+ // return Fail("当前用户非首次登录,请使用账号密码进行登录!");
+ //}
userEntity.LoginOk = true;
#region 写入日志
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/UsernologinApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/UsernologinApi.cs
index a91bdfb41..5948bf864 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/UsernologinApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/UsernologinApi.cs
@@ -108,7 +108,7 @@ namespace Learun.Application.WebApi
{
return Fail("输入错误!");
}
- if (loginModel.codeType == "firstlogin" && userEntity.F_HaveLogMark == true)
+ if (loginModel.codeType == "firstlogin")
{
return Fail("当前用户非首次登录,请使用账号密码进行登录!");
}
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemDetailEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemDetailEntity.cs
index 86e1b03fa..d7d2a93fc 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemDetailEntity.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemDetailEntity.cs
@@ -128,42 +128,46 @@ namespace Learun.Application.Base.SystemModule
///
[Column("F_MODIFYUSERNAME")]
public string F_ModifyUserName { get; set; }
+
+
+ [Column("F_ITEMCODEGB")]
+ public string F_ItemCodeGB { get; set; }
///
/// 类型
///
///
- [Column("F_TYPE")]
- public string F_Type { get; set; }
+ //[Column("F_TYPE")]
+ //public string F_Type { get; set; }
///
/// 长度
///
///
- [Column("F_LENGTH")]
- public string F_Length { get; set; }
+ //[Column("F_LENGTH")]
+ //public string F_Length { get; set; }
///
/// 约束
///
///
- [Column("F_CONSTRAINT")]
- public string F_Constraint { get; set; }
+ //[Column("F_CONSTRAINT")]
+ //public string F_Constraint { get; set; }
///
/// 值空间
///
///
- [Column("F_VALUESPACE")]
- public string F_ValueSpace { get; set; }
+ //[Column("F_VALUESPACE")]
+ //public string F_ValueSpace { get; set; }
///
/// 解释举例
///
///
- [Column("F_EXPLAIN")]
- public string F_Explain { get; set; }
+ //[Column("F_EXPLAIN")]
+ //public string F_Explain { get; set; }
///
/// 引用编号
///
///
- [Column("F_REFERENCENUM")]
- public string F_ReferenceNum { get; set; }
+ //[Column("F_REFERENCENUM")]
+ //public string F_ReferenceNum { get; set; }
#endregion
#region 扩展操作
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemService.cs
index 0b413979f..e53ae1d1e 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/DataItem/DataItemService.cs
@@ -57,8 +57,7 @@ namespace Learun.Application.Base.SystemModule
t.F_CreateUserName,
t.F_ModifyDate,
t.F_ModifyUserId,
- t.F_ModifyUserName,
-t.F_Type,t.F_Length,t.F_Constraint,t.F_ValueSpace,t.F_Explain,t.F_ReferenceNum
+ t.F_ModifyUserName
";
}
#endregion