diff --git a/.gitignore b/.gitignore
index 233dacd9..6b3ba18d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
################################################################################
/SGGLPackFile/PackFile/bin
+/SGGLPackFile
diff --git a/SGGL/BLL/SysManage/UserService.cs b/SGGL/BLL/SysManage/UserService.cs
index c83bde51..c0a2a525 100644
--- a/SGGL/BLL/SysManage/UserService.cs
+++ b/SGGL/BLL/SysManage/UserService.cs
@@ -311,6 +311,25 @@ namespace BLL
}
#endregion
+ ///
+ /// 修改员工信息
+ ///
+ /// 人员实体
+ public static void UpdateUserInfo(Model.Sys_User user)
+ {
+ Model.Sys_User newUser = Funs.DB.Sys_User.FirstOrDefault(e => e.UserId == user.UserId);
+ if (newUser != null)
+ {
+ newUser.Account = user.Account;
+ newUser.UserName = user.UserName;
+ newUser.UserCode = user.UserCode;
+ newUser.IdentityCard = user.IdentityCard;
+ newUser.Email = user.Email;
+ newUser.Telephone = user.Telephone;
+ Funs.DB.SubmitChanges();
+ }
+ }
+
///
/// 根据人员Id删除一个人员信息
///
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/CostControlWeekItemDetailEdit.aspx.cs b/SGGL/FineUIPro.Web/JDGL/WBS/CostControlWeekItemDetailEdit.aspx.cs
index 7beb3654..8af06e5f 100644
--- a/SGGL/FineUIPro.Web/JDGL/WBS/CostControlWeekItemDetailEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/CostControlWeekItemDetailEdit.aspx.cs
@@ -69,6 +69,8 @@ namespace FineUIPro.Web.JDGL.WBS
Model.WBS_CostControlDetail costControlDetail = BLL.CostControlDetailService.GetCostControlDetailByCostControlDetailId(this.Id);
detail.CostControlDetailId = SQLHelper.GetNewID();
detail.Months = costControlDetail.Months;
+ detail.StartDate= costControlDetail.Months;
+ detail.EndDate = costControlDetail.Months.Value.AddMonths(1).AddDays(-1);
list.Add(detail);
Grid1.DataSource = list;
Grid1.DataBind();
diff --git a/SGGL/FineUIPro.Web/Personal/PersonalInfo.aspx b/SGGL/FineUIPro.Web/Personal/PersonalInfo.aspx
index c7dd22de..1c75b192 100644
--- a/SGGL/FineUIPro.Web/Personal/PersonalInfo.aspx
+++ b/SGGL/FineUIPro.Web/Personal/PersonalInfo.aspx
@@ -5,98 +5,106 @@
涓汉淇℃伅
-
-