From 03ae5d9a6570586f2f30362d7fa3da3bbf25c3b3 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期四, 10 十月 2024 16:48:32 +0800 Subject: [PATCH] 添加单点登录,修改界面单表修改数据-修改人修改时间-问题 --- WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DispatchInfoService.cs | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DispatchInfoService.cs b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DispatchInfoService.cs index 1e4180e..27a92be 100644 --- a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DispatchInfoService.cs +++ b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DispatchInfoService.cs @@ -41,11 +41,12 @@ _deviceInfoRepository = deviceInfoRepository; } + /// <summary> + /// 鏌ヨ璋冨害鏈嶅姟Job涓庡搴旂殑璁惧淇℃伅銆� + /// </summary> + /// <returns>杩斿洖璋冨害鏈嶅姟JobDTO闆嗗悎銆�</returns> public List<DispatchInfoDTO> QueryDispatchInfos() { - List<Dt_DispatchInfo> dispatchInfos = BaseDal.QueryData(); - List<Dt_DeviceInfo> deviceInfos = _deviceInfoRepository.QueryData(); - return Db.Queryable<Dt_DispatchInfo, Dt_DeviceInfo>((a, b) => a.JobGroup == b.DeviceType && b.DeviceStatus == ((int)DeviceStatusEnum.Enable).ToString()).Select((a, b) => new DispatchInfoDTO { JobGroup = a.JobGroup, @@ -62,7 +63,7 @@ ModifyDate = a.ModifyDate, Name = a.Name, Remark = a.Remark, - DeviceStatus = b.DeviceType + DeviceType = b.DeviceType }).ToList(); } } -- Gitblit v1.9.3