处理bug

This commit is contained in:
wjn 2024-04-10 14:41:45 +08:00
parent 884bf7ff97
commit 81eb1855ef
2 changed files with 7 additions and 2 deletions

View File

@ -147,7 +147,12 @@ namespace APT.FO.WebApi.Controllers.Api.FO
{ {
entity.PRE_MEETING_STATUS = FOPreMeetingStatusEnum.; entity.PRE_MEETING_STATUS = FOPreMeetingStatusEnum.;
} }
sendNotices = NotificationTaskService.InsertUserNoticeTaskModels(title, entity.ID, entity.ORG_ID, userIds, userNames, DateTime.Now, entity.START_TIME.AddHours(1), (int)FMNoticeTypeEnum., "FO003_SHOWPRINT"); var endTime = DateTime.Now.AddHours(1);
if (entity.START_TIME != DateTime.MinValue)
{
endTime = entity.START_TIME.AddHours(1);
}
sendNotices = NotificationTaskService.InsertUserNoticeTaskModels(title, entity.ID, entity.ORG_ID, userIds, userNames, DateTime.Now, endTime, (int)FMNoticeTypeEnum., "FO003_SHOWPRINT");
var taskId = entity.TaskID; var taskId = entity.TaskID;
if (taskId == Guid.Empty) if (taskId == Guid.Empty)
{ {

View File

@ -44,7 +44,7 @@ namespace APT.HM.WebApi.Controllers.Api
{ {
return SafeExecute<bool>(() => return SafeExecute<bool>(() =>
{ {
var users = entity.Nav_Users; var users = GetEntities<T_HM_RISK_RECORD_USER>(t=>t.RECORD_ID==entity.ID,new BaseFilter(entity.ORG_ID));
var identifyings = entity.Nav_Identifyings; var identifyings = entity.Nav_Identifyings;
var files = entity.Nav_Files; var files = entity.Nav_Files;
var details = entity.Nav_Details; var details = entity.Nav_Details;