diff --git a/SGGL/Model/APIItem/UserItem.cs b/SGGL/Model/APIItem/UserItem.cs
index 429f40db..b11403b8 100644
--- a/SGGL/Model/APIItem/UserItem.cs
+++ b/SGGL/Model/APIItem/UserItem.cs
@@ -7,10 +7,10 @@ namespace Model
{
public class UserItem
{
- ///
- /// 用户ID
- ///
- public string UserId
+ ///
+ /// 用户ID
+ ///
+ public string UserId
{
get;
set;
@@ -80,6 +80,30 @@ namespace Model
set;
}
///
+ /// 单位代号
+ ///
+ public string UnitCode
+ {
+ get;
+ set;
+ }
+ ///
+ /// 部门ID
+ ///
+ public string DepartId
+ {
+ get;
+ set;
+ }
+ ///
+ /// 部门名称
+ ///
+ public string DepartName
+ {
+ get;
+ set;
+ }
+ ///
/// 当前项目ID
///
public string LoginProjectId
@@ -136,6 +160,14 @@ namespace Model
set;
}
///
+ /// 是否在岗
+ ///
+ public string IsPost
+ {
+ get;
+ set;
+ }
+ ///
/// 是否本部
///
public bool? IsOffice
diff --git a/SGGL/Model/APIItem/UserListItem.cs b/SGGL/Model/APIItem/UserListItem.cs
new file mode 100644
index 00000000..1648255b
--- /dev/null
+++ b/SGGL/Model/APIItem/UserListItem.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Model
+{
+ public class UserListItem
+ {
+ ///
+ /// 用户信息集合
+ ///
+ public List
list
+ {
+ get;
+ set;
+ }
+ }
+}
diff --git a/SGGL/Model/Model.csproj b/SGGL/Model/Model.csproj
index 82cfb785..ff810224 100644
--- a/SGGL/Model/Model.csproj
+++ b/SGGL/Model/Model.csproj
@@ -145,6 +145,7 @@
+
diff --git a/SGGL/WebAPI/Controllers/UserController.cs b/SGGL/WebAPI/Controllers/UserController.cs
index 6476a8cd..3ac453de 100644
--- a/SGGL/WebAPI/Controllers/UserController.cs
+++ b/SGGL/WebAPI/Controllers/UserController.cs
@@ -464,5 +464,29 @@ namespace WebAPI.Controllers
return responeData;
}
#endregion
+
+ #region 保存用户信息
+ ///
+ /// 保存用户信息
+ ///
+ /// 用户信息
+ ///
+ [HttpPost]
+ public Model.ResponeData postUserInfo([FromBody] Model.UserListItem list)
+ {
+ var responeData = new Model.ResponeData();
+ try
+ {
+ responeData.message= APIUserService.SaveUserInfo(list);
+ }
+ catch (Exception ex)
+ {
+ responeData.code = 0;
+ responeData.message = ex.Message;
+ }
+
+ return responeData;
+ }
+ #endregion
}
}
diff --git a/SGGL/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml b/SGGL/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml
index ec9e975a..da9bb69f 100644
--- a/SGGL/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml
+++ b/SGGL/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml
@@ -12,7 +12,7 @@
True
False
- E:\Package\中国成达\SGGLAPI
+ E:\Package\中化成达\SGGLAPI
True
True
True
diff --git a/需求说明/诺必达施工平台系统部署说明(新)20220322.docx b/需求说明/诺必达施工平台系统部署说明(新)20220322.docx
new file mode 100644
index 00000000..2886bdae
Binary files /dev/null and b/需求说明/诺必达施工平台系统部署说明(新)20220322.docx differ