|
@@ -99,7 +99,11 @@ namespace Learun.Application.TwoDevelopment.LR_Desktop |
|
|
{ |
|
|
{ |
|
|
try |
|
|
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); |
|
|
var obj = this.BaseRepository().FindObject(sql); |
|
|
if (obj == null) |
|
|
if (obj == null) |
|
|
return 0; |
|
|
return 0; |
|
|