fix 优化排班

This commit is contained in:
2025-03-19 17:31:22 +08:00
parent aa56a4d217
commit 448292adb2
2 changed files with 10 additions and 0 deletions

View File

@@ -229,6 +229,12 @@ public class DeviceUploadLogService : IDeviceUploadLogService
Content = $"{workGridInfo.WorkGrid.WorkGridName}的网格长,你好,检测到你网格中 {currentGainfo.Name}({currentGainfo.Code})今日未排班,但是有考勤记录,请前往系统处理!",
WorkCodes = new List<string> { workGridInfo.WorkGrid.LeaderUserCode }
});
await _dingTalkApi.SendWorkMessageAsync(new JinkoSendWorkMessageRequest
{
Content = $"{currentGainfo.Name}({currentGainfo.Code},检测到你在{workGridInfo.WorkGrid.WorkGridName}网格中,当日未排班,考勤记录不生效,请立即联系网格长",
WorkCodes = new List<string> { currentGainfo.Code }
});
}
catch (Exception e)
{