Quellcode durchsuchen

会议管理-添加创建时间

长阳分支推送专用
ndbs vor 2 Jahren
Ursprung
Commit
bca79490e2
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/MeetingManagement/MeetingManagementService.cs

+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/MeetingManagement/MeetingManagementService.cs Datei anzeigen

@@ -136,7 +136,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
try try
{ {
var data = this.BaseRepository("CollegeMIS").FindEntity<MeetingManagementEntity>(keyValue); var data = this.BaseRepository("CollegeMIS").FindEntity<MeetingManagementEntity>(keyValue);
if (data!=null)
if (data != null)
{ {
data.ConferenceRoomName = this.BaseRepository("CollegeMIS").FindEntity<ConferenceRoomEntity>(data.MeetingPlace).Name; data.ConferenceRoomName = this.BaseRepository("CollegeMIS").FindEntity<ConferenceRoomEntity>(data.MeetingPlace).Name;
} }
@@ -232,6 +232,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
else else
{ {
entity.Create(userInfo); entity.Create(userInfo);
entity.CreateTime = DateTime.Now;
db.Insert(entity); db.Insert(entity);
} }




Laden…
Abbrechen
Speichern