Procházet zdrojové kódy

校办收文打印

同煤学院(新)
ndbs před 2 týdny
rodič
revize
13f3df6a3c
2 změnil soubory, kde provedl 7 přidání a 12 odebrání
  1. +5
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs
  2. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config

+ 5
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs Zobrazit soubor

@@ -297,19 +297,14 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
break;
}
}
var PrintList = nWFTaskIBLL.GetLogList(dispatchEntity.processId).GroupBy(o => o.F_CreateUserName).Select(o => new
var newlist = firstList.Where(x => x.F_NodeName != "传阅落实" && firstList.Select(mo => mo.F_CreateDate).Contains(x.F_CreateDate)).OrderBy(s => s.F_CreateDate).ToList();
for (int i = 1; i < newlist.Count; i++)
{
F_CreateDate = o.FirstOrDefault().F_CreateDate,
F_CreateUserName = o.FirstOrDefault().F_CreateUserName,
});
var newList = PrintList.Where(s => PrintList.Select(mo => mo.F_CreateDate).Contains(s.F_CreateDate)).OrderBy(s => s.F_CreateDate).ToList();
for (int i = 1; i < newList.Count; i++)
{
if (i != 1 && i != newList.Count)
if (i != 1)
{
if (!ViewBag.pSList.Contains(newList[i].F_CreateUserName))
if (!ViewBag.pSList.Contains(newlist[i].F_CreateUserName))
{
ViewBag.pSList += newList[i].F_CreateUserName + newList[i].F_CreateDate + "阅" + "&";
ViewBag.pSList += newlist[i].F_CreateUserName + newlist[i].F_CreateDate + "阅" + "&";
}
}
}


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config Zobrazit soubor

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<connectionStrings>
<add name="BaseDb" connectionString="Server=8.141.155.183,53314;Initial Catalog=adms7ultimate2_同煤;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" />
<add name="CollegeMIS" connectionString="Server=8.141.155.183,53314;Initial Catalog=CollegeMIS_同煤;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" />
<add name="BaseDb" connectionString="Server=.;Initial Catalog=adms7ultimate2DT;User ID=sa;Password=sql2012" providerName="System.Data.SqlClient" />
<add name="CollegeMIS" connectionString="Server=.;Initial Catalog=CollegeMISDT;User ID=sa;Password=sql2012" providerName="System.Data.SqlClient" />
<add name="hangfireString" connectionString="Server=8.141.155.183,53314;Initial Catalog=Hangfire;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" />
<add name="paikeDbString" connectionString="Data Source=10.30.0.11;Database=paike;User ID=root;Password=12345678;" providerName="MySql.Data.MySqlClient" />
<add name="YongyouDb" connectionString="Server=8.141.155.183,53314;Password=bjqjkj@2014~2015!;User ID=sa; Initial Catalog=u8gx" providerName="System.Data.SqlClient" />


Načítá se…
Zrušit
Uložit