瀏覽代碼

计算工资 4.1

leiy 1 年之前
父節點
當前提交
339a574ebe
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      OASystem/OASystem.Api/OAMethodLib/PayrollComputation.cs

+ 2 - 1
OASystem/OASystem.Api/OAMethodLib/PayrollComputation.cs

@@ -51,7 +51,7 @@ namespace OASystem.API.OAMethodLib
             CheckInView checkIn = await _qiYeWeChatApiService.GetCheckin_MonthDataAsync(startDt, endDt); //时间段内所有 打卡数据
             if (checkIn.errcode != 0)
             {
-                _result.Msg = checkIn.errmsg;
+                _result.Msg = "【企业微信】【打卡】【获取所有月打卡数据】【Msg】" + checkIn.errmsg;
                 return _result;
             }
 
@@ -640,6 +640,7 @@ namespace OASystem.API.OAMethodLib
             templateDetailView = await _qiYeWeChatApiService.GetTemplateDetailAsync(template_id);
             if (templateDetailView.errcode != 0) 
             {
+                Log.Error("【企业微信】【审批】【获取假勤类型的审批】【Msg】"+ templateDetailView.errmsg);
                 return vacationLeaveTypes;
             }
             List<VacationItemInfo> VacationItemInfos = templateDetailView.vacation_list.item;