|
|
@@ -12,6 +12,7 @@ using Learun.Application.Organization; |
|
|
|
using Learun.Application.Base.SystemModule; |
|
|
|
using Learun.Application.TwoDevelopment.EducationalAdministration; |
|
|
|
using Learun.Cache.Redis; |
|
|
|
using Learun.Application.TwoDevelopment.PersonnelManagement; |
|
|
|
|
|
|
|
namespace Learun.Application.TwoDevelopment.LR_Desktop |
|
|
|
{ |
|
|
@@ -449,22 +450,28 @@ namespace Learun.Application.TwoDevelopment.LR_Desktop |
|
|
|
{ |
|
|
|
//校区信息 |
|
|
|
var company = this.BaseRepository().FindList<CompanyEntity>(x => x.F_DeleteMark == 0 && x.F_EnabledMark == 1).FirstOrDefault(); |
|
|
|
//教材数据 |
|
|
|
var textBookInfo = this.BaseRepository("CollegeMIS").FindList<TextBookInfoEntity>(x => x.IsValid == true && x.IsDel == 0); |
|
|
|
//教师培训数据 |
|
|
|
var teacherTrain = this.BaseRepository().FindList<TeacherTrainEntity>(); |
|
|
|
|
|
|
|
ParamModel paramModel = new ParamModel(); |
|
|
|
paramModel.dataObjName = "ods_jxpxsj"; |
|
|
|
|
|
|
|
var list = new List<object>(); |
|
|
|
foreach (var book in textBookInfo) |
|
|
|
foreach (var data in teacherTrain) |
|
|
|
{ |
|
|
|
var param = new |
|
|
|
{ |
|
|
|
//gzzyqksjid = book.ID, |
|
|
|
//xxjgdm = company.F_USCreditCode, |
|
|
|
//xxjgmc = company.F_FullName, |
|
|
|
|
|
|
|
//sjcjsj = DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss") |
|
|
|
gzzyqksjid = data.TTID, |
|
|
|
xxjgdm = company.F_USCreditCode, |
|
|
|
xxjgmc = company.F_FullName, |
|
|
|
jxpxhdbh = data.TTEnCode, |
|
|
|
jxpxhdmc = data.TTContent, |
|
|
|
jxpxhdzt = "", |
|
|
|
jxpxhdnrjj = "", |
|
|
|
jxpxhdsj = data.TTStartTime, |
|
|
|
zjr = "", |
|
|
|
drpxhdcyjss = data.TTEmpNum, |
|
|
|
sjcjsj = DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss") |
|
|
|
}; |
|
|
|
list.Add(param); |
|
|
|
} |
|
|
|