From 072169e3c5446f94e2cf4e570e5c7952bb5b15b9 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 27 七月 2021 14:47:44 +0800 Subject: [PATCH] 今日开发 考勤规则里增加 公司安排加班 调整请假时间计算 加班日考勤计算 --- zhengcaioa/zhengcaioa/Controllers/Expert/ExpertsApplyController.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Controllers/Expert/ExpertsApplyController.cs b/zhengcaioa/zhengcaioa/Controllers/Expert/ExpertsApplyController.cs index dc5b793..2473722 100644 --- a/zhengcaioa/zhengcaioa/Controllers/Expert/ExpertsApplyController.cs +++ b/zhengcaioa/zhengcaioa/Controllers/Expert/ExpertsApplyController.cs @@ -35,8 +35,8 @@ public ActionResult ExpertsApply(string id = null) { - var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); - ViewData["curentuser"] = curentuser; + //var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); + //ViewData["curentuser"] = curentuser; List<ActionEntity> actionlist = new List<ActionEntity>(); ActionEntity actionEntity = new ActionEntity(); actionEntity.OpenType = 0; @@ -99,8 +99,8 @@ public string ExpertsApplySave(ExpertDTO data) { - var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); - ViewData["curentuser"] = curentuser; + //var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); + //ViewData["curentuser"] = curentuser; data.ReviewItem = data.ReviewItemSelect; data.InfoSource = "00"; data.ExpertType = "0"; @@ -109,10 +109,10 @@ data.ShenheStatus = "D"; if (String.IsNullOrEmpty(data.Id)) { - data.Creater = curentuser.Id; + data.Creater = "1"; data.Createtime = DateTime.Now; } - data.Modifier = curentuser.Id; + data.Modifier = "1"; data.Modifytime = DateTime.Now; ResultEntity resultEntity = _expertService.save(data); -- Gitblit v1.9.1