|
|
@@ -145,7 +145,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
try |
|
|
|
{ |
|
|
|
var userInfo = LoginUserInfo.Get(); |
|
|
|
var list = this.BaseRepository().FindList<Sys_ReceiveFileEntity>(a => a.SenderId == userId && a.RStatus==0); |
|
|
|
var list = this.BaseRepository().FindList<Sys_ReceiveFileEntity>(a => a.SenderId == userId && a.RStatus == 0); |
|
|
|
return list; |
|
|
|
} |
|
|
|
catch (Exception ex) |
|
|
@@ -537,7 +537,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
|
|
|
|
public string XiaoZhangP() |
|
|
|
{ |
|
|
|
var xiaozhangID = this.BaseRepository().FindEntity<UserEntity>(a=>a.F_RealName.Contains("关亮"))?.F_UserId; |
|
|
|
var xiaozhangID = this.BaseRepository().FindEntity<UserEntity>(a => a.F_RealName.Contains("关亮"))?.F_UserId; |
|
|
|
|
|
|
|
return xiaozhangID; |
|
|
|
} |
|
|
@@ -687,5 +687,29 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public object GetInstructions(string keyValue) |
|
|
|
{ |
|
|
|
try |
|
|
|
{ |
|
|
|
var sendId = this.BaseRepository().FindEntity<Sys_ReceiveFileEntity>(a => a.RFileId == keyValue) |
|
|
|
?.SFileId; |
|
|
|
var data = this.BaseRepository().FindList<Sys_ReceiveFileEntity>(a => a.SFileId == sendId && a.SpecifyReceiver != null) |
|
|
|
.OrderBy(a => a.ReplyTime); |
|
|
|
|
|
|
|
return data; |
|
|
|
} |
|
|
|
catch (Exception ex) |
|
|
|
{ |
|
|
|
if (ex is ExceptionEx) |
|
|
|
{ |
|
|
|
throw; |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
throw ExceptionEx.ThrowServiceException(ex); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |