浏览代码

未读消息加权限

金隅分支
zhangli 3 年前
父节点
当前提交
a603273a5a
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. +5
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/MessageRind/MessageRindService.cs

+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/MessageRind/MessageRindService.cs 查看文件

@@ -99,7 +99,11 @@ namespace Learun.Application.TwoDevelopment.LR_Desktop
{
try
{
string sql = "select count(1) from MessageRemind where ReadSigns=0";
var userInfo = LoginUserInfo.Get();
string sql = "select count(1) from MessageRemind where ReadSigns=0 ";

sql += $" and ReceiptId='{userInfo.userId}'";

var obj = this.BaseRepository().FindObject(sql);
if (obj == null)
return 0;


正在加载...
取消
保存