Przeglądaj źródła

GetSqlData更新

master
zhangli 3 lat temu
rodzic
commit
390a2e8eff
1 zmienionych plików z 13 dodań i 0 usunięć
  1. +13
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Controllers/DTListController.cs

+ 13
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Controllers/DTListController.cs Wyświetl plik

@@ -189,6 +189,17 @@ namespace Learun.Application.Web.Areas.LR_Desktop.Controllers
dtListEntity.F_Sql = dtListEntity.F_Sql.Replace("MMM", strSql.ToString());
}

if (dtListEntity.F_Name.Contains("公文接收"))
{
dtListEntity.F_Sql =
"SELECT RFileId as F_Id,Title as f_title,SendTime as f_time FROM dbo.Sys_ReceiveFile WHERE DelFlag=0 AND ReadFlag<>1 and STypeId=4 AND ReceiverId='" +
loginUserInfo.userId + "'";
}
//金隅学校增加通知新闻已读标志
if (dtListEntity.F_Url.Contains("/Notice/ViewIndex"))
{
dtListEntity.F_Sql = dtListEntity.F_Sql.Replace("@userId", "'" + loginUserInfo.userId + "'");
}

var reqDataTable = databaseLinkIbll.FindTable(dtListEntity.F_DataSourceId.Trim(), dtListEntity.F_Sql);
if (dtListEntity.F_Id == "88f94781-acb8-47ca-864b-f96e3d9b5587")
@@ -261,5 +272,7 @@ namespace Learun.Application.Web.Areas.LR_Desktop.Controllers
}




}
}

Ładowanie…
Anuluj
Zapisz