예제 #1
0
 protected override void InitLogNeed(BusinessTrip t)
 {
     ParaList.Clear();
     ParaList.Add("出差");
     ParaList.Add(t.Employee.EmployeeNO);
     ParaList.Add(t.Employee.EmployeeBaseInfo.EmployName);
 }
예제 #2
0
 protected override void InitLogNeed(Salary t)
 {
     ParaList.Clear();
     ParaList.Add("设置底薪");
     ParaList.Add(t.Employee.EmployeeBaseInfo.EmployName);
     ParaList.Add(t.Employee.EmployeeNO);
 }
 protected override void InitLogNeed(CardFillRecord t)
 {
     ParaList.Clear();
     ParaList.Add("补卡");
     ParaList.Add(t.Employee.EmployeeNO);
     ParaList.Add(t.Employee.EmployeeBaseInfo.EmployName);
 }
예제 #4
0
 protected override void InitLogNeed(ReSignIn t)
 {
     ParaList.Clear();
     ParaList.Add("补签");
     ParaList.Add(t.Employee.EmployeeNO);
     ParaList.Add(t.Employee.EmployeeBaseInfo.EmployName);
 }
예제 #5
0
 protected override void InitLogNeed(Employee t)
 {
     ParaList.Clear();
     ParaList.Add("员工");
     ParaList.Add(t.EmployeeBaseInfo.EmployName);
     ParaList.Add(t.EmployeeNO);
 }
예제 #6
0
 protected override void InitLogNeed(OverWork t)
 {
     ParaList.Clear();
     ParaList.Add("加班");
     ParaList.Add(t.Employee.EmployeeNO);
     ParaList.Add(t.Employee.EmployeeBaseInfo.EmployName);
 }
예제 #7
0
 protected override void InitLogNeed(OperatingPost t)
 {
     ParaList.Clear();
     ParaList.Add("岗位");
     ParaList.Add(t.OperatingPostNo);
     ParaList.Add(t.OperatingPostName);
 }
예제 #8
0
 protected override void InitLogNeed(Department t)
 {
     ParaList.Clear();
     ParaList.Add("部门");
     ParaList.Add(t.DepartName);
     ParaList.Add(t.DepartNo);
 }
예제 #9
0
 protected override void InitLogNeed(EmployeePostAdjust t)
 {
     ParaList.Clear();
     ParaList.Add("岗位调整 for");
     if (t.PrevOperatingPost != null)
     {
         ParaList.Add(t.Employee.EmployeeBaseInfo.EmployName);
     }
     ParaList.Add("原岗位");
     if (t.PrevOperatingPost != null)
     {
         ParaList.Add(t.PrevOperatingPost.OperatingPostName);
     }
     ParaList.Add("现岗位");
     ParaList.Add(t.CurOperatingPost.OperatingPostName);
 }
예제 #10
0
 public bool UpDataEntity()
 {
     try
     {
         var effect = Factory.Update();
         ParaList.Add(effect.ToString());
         WriteLog("更新成功,更新记录");
         StatusConsole.WriteLine("已更新记录");
         return(true);
     }
     catch (Exception e)
     {
         WriteLogFalse("更新失败", e);
         StatusConsole.WriteLine("更新失败");
         return(false);
     }
 }
예제 #11
0
 protected override void InitLogNeed(ArrangeWork t)
 {
     ParaList.Clear();
     ParaList.Add(t.ArrangeWorkNo);
     ParaList.Add(t.WorkName);
 }
예제 #12
0
 protected override void InitLogNeed(TiaoXiu t)
 {
     ParaList.Clear();
     ParaList.Add("调休管理");
     ParaList.Add(t.TiaoXiuNo);
 }
예제 #13
0
 protected override void InitLogNeed(WageDetail t)
 {
     ParaList.Clear();
     ParaList.Add("薪资更新");
 }
예제 #14
0
 protected override void InitLogNeed(VacationPlan t)
 {
     ParaList.Add("节假日方案");
     ParaList.Add(t.PlanName);
 }
예제 #15
0
 protected override void InitLogNeed(AskLeave t)
 {
     ParaList.Clear();
     ParaList.Add("请假单");
 }
예제 #16
0
 protected override void InitLogNeed(Dormitory t)
 {
     ParaList.Clear();
     ParaList.Add("宿舍");
     ParaList.Add(t.DormitoryNo);
 }
예제 #17
0
 protected override void InitLogNeed(AttendanceResult t)
 {
     ParaList.Clear();
     ParaList.Add("考勤分析结果");
 }
예제 #18
0
 protected override void InitLogNeed(SystemArgument t)
 {
     ParaList.Clear();
     ParaList.Add("参数");
     ParaList.Add(t.ArguValue);
 }
예제 #19
0
 protected override void InitLogNeed(Couple t)
 {
     ParaList.Clear();
     ParaList.Add("添加夫妻关系");
 }
예제 #20
0
 protected override void InitLogNeed(SystemRole t)
 {
     ParaList.Clear();
     ParaList.Add("系统角色");
     ParaList.Add(t.Name);
 }
예제 #21
0
 protected override void InitLogNeed(SystemUser t)
 {
     ParaList.Clear();
     ParaList.Add("系统用户");
     ParaList.Add(t.UserName);
 }