@@ -43,6 +43,11 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers | |||
{ | |||
return View(); | |||
} | |||
[HttpGet] | |||
public ActionResult InitExperimentByConditionForm() | |||
{ | |||
return View(); | |||
} | |||
#endregion | |||
#region 获取数据 | |||
@@ -111,6 +116,19 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers | |||
eADateArrangeIBLL.InitByCondition(entity); | |||
return Success("操作成功"); | |||
} | |||
/// <summary> | |||
/// 保存实体数据(新增、修改) | |||
/// <param name="keyValue">主键</param> | |||
/// <summary> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[ValidateAntiForgeryToken] | |||
[AjaxOnly] | |||
public ActionResult SaveInitExperimentByConditionForm(ArrangeLessonTermEntity entity) | |||
{ | |||
eADateArrangeIBLL.InitExperimentByCondition(entity); | |||
return Success("操作成功"); | |||
} | |||
[HttpPost] | |||
[ValidateAntiForgeryToken] | |||
[AjaxOnly] | |||
@@ -24,6 +24,7 @@ | |||
</div> | |||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||
<a id="lr_initScore" class="btn btn-default"><i class="fa fa-plus"></i> 学生成绩录入初始化</a> | |||
<a id="lr_initScoreExperiment" class="btn btn-default"><i class="fa fa-plus"></i> 实训课成绩录入初始化</a> | |||
</div> | |||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||
<a id="lr_arrange" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 安排</a> | |||
@@ -104,6 +104,19 @@ var bootstrap = function ($, learun) { | |||
} | |||
}); | |||
}); | |||
// 实训课成绩录入初始化 | |||
$('#lr_initScoreExperiment').on('click', function () { | |||
learun.layerForm({ | |||
id: 'InitExperimentByConditionForm', | |||
title: '按条件初始化实训课成绩数据', | |||
url: top.$.rootUrl + '/EducationalAdministration/EADateArrange/InitExperimentByConditionForm', | |||
width: 600, | |||
height: 400, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
@@ -0,0 +1,27 @@ | |||
@{ | |||
ViewBag.Title = "按条件初始化实训课成绩数据"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap" id="form"> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">课程类型<font face="宋体">*</font></div> | |||
<div id="LessonTypeCode" isvalid="yes" checkexpession="NotNull" readonly></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">校区<font face="宋体">*</font></div> | |||
<div id="F_SchoolId" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">学年<font face="宋体">*</font></div> | |||
<div id="AcademicYearNo" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">学期<font face="宋体">*</font></div> | |||
<div id="Semester" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item"> | |||
<div class="lr-form-item-title">年级<font face="宋体">*</font></div> | |||
<div id="Grade" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/EADateArrange/InitExperimentByConditionForm.js") |
@@ -0,0 +1,61 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2019-02-27 11:05 | |||
* 描 述:按条件初始化实训课成绩数据 | |||
*/ | |||
var acceptClick; | |||
var bootstrap = function ($, learun) { | |||
"use strict"; | |||
var page = { | |||
init: function () { | |||
page.bind(); | |||
//page.initData(); | |||
}, | |||
bind: function () { | |||
$('#LessonTypeCode').lrDataSourceSelect({ code: 'CdLessonType', value: 'lessontypecode', text: 'lessontypename' }).lrselectSet('ExperimentLesson'); | |||
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' }); | |||
//学年 | |||
$('#AcademicYearNo').lrselect({ | |||
placeholder: "请选择学年", | |||
allowSearch: true, | |||
url: top.$.rootUrl + '/EducationalAdministration/EADateArrange/GetAcademicYearNo', | |||
value: 'value', | |||
text: 'text' | |||
}); | |||
//学期 | |||
$('#Semester').lrselect({ | |||
placeholder: "请选择学期", | |||
allowSearch: true, | |||
url: top.$.rootUrl + '/EducationalAdministration/StuScore/GetSemesterData', | |||
value: 'value', | |||
text: 'text' | |||
}); | |||
$('#Grade').lrselect({ | |||
url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear', | |||
value: 'value', | |||
text: 'text' | |||
}); | |||
}, | |||
initData: function () { | |||
//if (!!selectedRow) { | |||
// $('#form').lrSetFormData(selectedRow); | |||
//} | |||
} | |||
}; | |||
// 保存数据 | |||
acceptClick = function (callBack) { | |||
if (!$('#form').lrValidform()) { | |||
return false; | |||
} | |||
var postData = $('#form').lrGetFormData(); | |||
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/EADateArrange/SaveInitExperimentByConditionForm', postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -1077,6 +1077,7 @@ | |||
<Content Include="Areas\EducationalAdministration\Views\ClassPlan\Form.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\ClassPlan\Index.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\ClassPlan\IndexSchool.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\EADateArrange\InitExperimentByConditionForm.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\EADateArrange\InitByConditionForm.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\EmpInfo\FormModify.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\EmpInfo\FormEdit.js" /> | |||
@@ -1345,6 +1346,7 @@ | |||
<Content Include="Areas\EducationalAdministration\Views\ArrangeExamTermNew\IndexTeach.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\ArrangeExamTermNew\SyncByConditionForm.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Exam_ArrangeExamTermNew\IndexClassRoom.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\EADateArrange\InitExperimentByConditionForm.cshtml" /> | |||
<None Include="Areas\EducationalAdministration\Views\StuInfoBasic\Printxjk.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuInfoFresh\AllocationClassDC.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuInfoFresh\StatisticClassIndex.js" /> | |||
@@ -0,0 +1,29 @@ | |||
using Learun.Application.TwoDevelopment.EducationalAdministration; | |||
using System.Data.Entity.ModelConfiguration; | |||
namespace Learun.Application.Mapping | |||
{ | |||
/// <summary> | |||
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 | |||
/// Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2019-06-14 11:02 | |||
/// 描 述:考试成绩同步 | |||
/// </summary> | |||
public class StuScoreExperimentMap : EntityTypeConfiguration<StuScoreExperimentEntity> | |||
{ | |||
public StuScoreExperimentMap() | |||
{ | |||
#region 表、主键 | |||
//表 | |||
this.ToTable("STUSCOREEXPERIMENT"); | |||
//主键 | |||
this.HasKey(t => t.ScoreId); | |||
#endregion | |||
#region 配置关系 | |||
#endregion | |||
} | |||
} | |||
} | |||
@@ -99,6 +99,7 @@ | |||
<Compile Include="EducationalAdministration\Exam_ExamTeacherTimeMap.cs" /> | |||
<Compile Include="EducationalAdministration\Exam_InvigilateTeacherMap.cs" /> | |||
<Compile Include="EducationalAdministration\LeaveSchoolMap.cs" /> | |||
<Compile Include="EducationalAdministration\StuScoreExperimentMap.cs" /> | |||
<Compile Include="EducationalAdministration\TeacherServiceInfoMap.cs" /> | |||
<Compile Include="EducationalAdministration\MealCardRunTabMap.cs" /> | |||
<Compile Include="EducationalAdministration\PM_CertificateMap.cs" /> | |||
@@ -160,6 +160,10 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||
[NotMapped] public string StuName { get; set; } | |||
[NotMapped] public string Grade { get; set; } | |||
[NotMapped] public string GenderNo { get; set; } | |||
/// <summary> | |||
/// 课程类型编号 | |||
/// </summary> | |||
[NotMapped] public string LessonTypeCode { get; set; } | |||
#endregion | |||
@@ -215,6 +215,29 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||
} | |||
} | |||
/// <summary> | |||
/// 初始化实训课成绩录入数据 | |||
/// </summary> | |||
/// <param name="entity"></param> | |||
public void InitExperimentByCondition(ArrangeLessonTermEntity entity) | |||
{ | |||
try | |||
{ | |||
eADateArrangeService.InitExperimentByCondition(entity); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
#endregion | |||
} | |||
@@ -68,5 +68,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||
#endregion | |||
void InitByCondition(ArrangeLessonTermEntity entity); | |||
void InitExperimentByCondition(ArrangeLessonTermEntity entity); | |||
} | |||
} |
@@ -392,6 +392,77 @@ and a.Academicyearno='" + entity.AcademicYearNo + "' and a.Semester='" + entity. | |||
} | |||
/// <summary> | |||
/// 初始化实训课成绩录入数据 | |||
/// </summary> | |||
/// <param name="entity"></param> | |||
public void InitExperimentByCondition(ArrangeLessonTermEntity entity) | |||
{ | |||
try | |||
{ | |||
var insertDataList = new List<StuScoreExperimentEntity>(); | |||
//课程 | |||
var lessonList = this.BaseRepository("CollegeMIS").FindList<LessonInfoEntity>($"select t.* from LessonInfo t left join CdLessonType c on t.LessonTypeId=c.LTId where t.CheckMark=1 and t.F_SchoolId='{entity.F_SchoolId}' and c.LessonTypeCode='{entity.LessonTypeCode}' "); | |||
if (lessonList.Any()) | |||
{ | |||
//学生 | |||
var stuList = this.BaseRepository("CollegeMIS").FindList<StuInfoBasicEntity>(x => x.CheckMark == "1" && x.Grade == entity.Grade); | |||
if (stuList.Any()) | |||
{ | |||
//实训课成绩表数据 | |||
var StuScoreExperimentList = this.BaseRepository("CollegeMIS").FindList<StuScoreExperimentEntity>(); | |||
foreach (var lessonItem in lessonList) | |||
{ | |||
foreach (var stuItem in stuList) | |||
{ | |||
var insertData = new StuScoreExperimentEntity() | |||
{ | |||
StuNo = stuItem.StuNo, | |||
DeptNo = stuItem.DeptNo, | |||
MajorNo = stuItem.MajorNo, | |||
ClassNo = stuItem.ClassNo, | |||
StuName = stuItem.StuName, | |||
GenderNo = stuItem.GenderNo != null && stuItem.GenderNo.Value ? "1" : "0", | |||
AcademicYearNo = entity.AcademicYearNo, | |||
Semester = entity.Semester, | |||
OpenLessonDeptNo = stuItem.DeptNo, | |||
OpenLessonMajorNo = stuItem.MajorNo, | |||
LessonNo = lessonItem.LessonNo, | |||
LessonName = lessonItem.LessonName, | |||
Grade = stuItem.Grade, | |||
OrdinaryScore = 0, | |||
TermInScore = 0, | |||
TermEndScore = 0, | |||
OtherScore = 0, | |||
CheckMark = "1", | |||
F_SchoolId = entity.F_SchoolId, | |||
}; | |||
if (StuScoreExperimentList.Count(x => x.F_SchoolId == insertData.F_SchoolId && x.AcademicYearNo == insertData.AcademicYearNo && | |||
x.Semester == insertData.Semester && x.LessonNo == insertData.LessonNo && x.StuNo == insertData.StuNo) == 0 | |||
&& insertDataList.Count(x => x.F_SchoolId == insertData.F_SchoolId && x.AcademicYearNo == insertData.AcademicYearNo && | |||
x.Semester == insertData.Semester && x.LessonNo == insertData.LessonNo && x.StuNo == insertData.StuNo) == 0) | |||
{ | |||
insertDataList.Add(insertData); | |||
} | |||
} | |||
} | |||
} | |||
} | |||
this.BaseRepository("CollegeMIS").Insert(insertDataList); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowServiceException(ex); | |||
} | |||
} | |||
} | |||
public void PushWeixin(List<UserEntity> needpostuserlist, string title) | |||
{ | |||
var WeChatConfigentity = BaseRepository().FindEntity<WeChatConfigEntity>(m => m.IsEnable == true); | |||
@@ -0,0 +1,346 @@ | |||
using Learun.Util; | |||
using System; | |||
using System.ComponentModel.DataAnnotations.Schema; | |||
namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||
{ | |||
/// <summary> | |||
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 | |||
/// Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2019-06-14 11:02 | |||
/// 描 述:考试成绩同步 | |||
/// </summary> | |||
public class StuScoreExperimentEntity | |||
{ | |||
#region 实体成员 | |||
/// <summary> | |||
/// ScoreId | |||
/// </summary> | |||
/// <returns></returns> | |||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)] | |||
[Column("SCOREID")] | |||
public int? ScoreId { get; set; } | |||
/// <summary> | |||
/// 通知书号 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("NOTICEBOOKNO")] | |||
public string NoticeBookNo { get; set; } | |||
/// <summary> | |||
/// 学号 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("STUNO")] | |||
public string StuNo { get; set; } | |||
/// <summary> | |||
/// 学生所在系部 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("DEPTNO")] | |||
public string DeptNo { get; set; } | |||
/// <summary> | |||
/// 学生所在专业号 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("MAJORNO")] | |||
public string MajorNo { get; set; } | |||
/// <summary> | |||
/// 行政班号 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("CLASSNO")] | |||
public string ClassNo { get; set; } | |||
/// <summary> | |||
/// 姓名 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("STUNAME")] | |||
public string StuName { get; set; } | |||
/// <summary> | |||
/// GenderNo | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("GENDERNO")] | |||
public string GenderNo { get; set; } | |||
/// <summary> | |||
/// 学年度 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("ACADEMICYEARNO")] | |||
public string AcademicYearNo { get; set; } | |||
/// <summary> | |||
/// 学期 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("SEMESTER")] | |||
public string Semester { get; set; } | |||
/// <summary> | |||
/// 开课系部码 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("OPENLESSONDEPTNO")] | |||
public string OpenLessonDeptNo { get; set; } | |||
/// <summary> | |||
/// 开课专业码 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("OPENLESSONMAJORNO")] | |||
public string OpenLessonMajorNo { get; set; } | |||
/// <summary> | |||
/// 课程号 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("LESSONNO")] | |||
public string LessonNo { get; set; } | |||
/// <summary> | |||
/// 课程名称 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("LESSONNAME")] | |||
public string LessonName { get; set; } | |||
/// <summary> | |||
/// LessonNameEn | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("LESSONNAMEEN")] | |||
public string LessonNameEn { get; set; } | |||
/// <summary> | |||
/// 教学班号 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("TEACHCLASSNO")] | |||
public string TeachClassNo { get; set; } | |||
/// <summary> | |||
/// 课程类别码 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("LESSONSORTNO")] | |||
public string LessonSortNo { get; set; } | |||
/// <summary> | |||
/// 学生类别 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("STUSORTNO")] | |||
public string StuSortNo { get; set; } | |||
/// <summary> | |||
/// 年级 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("GRADE")] | |||
public string Grade { get; set; } | |||
/// <summary> | |||
/// 学分 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("STUDYSCORE")] | |||
public decimal? StudyScore { get; set; } | |||
/// <summary> | |||
/// 总学时 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("TOTALSTUDYHOUR")] | |||
public decimal? TotalStudyHour { get; set; } | |||
/// <summary> | |||
/// 专业属性 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("ZYSX")] | |||
public string zysx { get; set; } | |||
/// <summary> | |||
/// 考核(试)方式码(关联表BCdTestMode) | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("TESTMODENO")] | |||
public string TestModeNo { get; set; } | |||
/// <summary> | |||
/// ScoreRecordStyleNo | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("SCORERECORDSTYLENO")] | |||
public string ScoreRecordStyleNo { get; set; } | |||
/// <summary> | |||
/// 平时成绩 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("ORDINARYSCORE")] | |||
public decimal? OrdinaryScore { get; set; } | |||
/// <summary> | |||
/// 期中成绩 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("TERMINSCORE")] | |||
public decimal? TermInScore { get; set; } | |||
/// <summary> | |||
/// 期末成绩 学期 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("TERMENDSCORE")] | |||
public decimal? TermEndScore { get; set; } | |||
/// <summary> | |||
/// OtherScore | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("OTHERSCORE")] | |||
public decimal? OtherScore { get; set; } | |||
/// <summary> | |||
/// 总评成绩 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("SCORE")] | |||
public decimal? Score { get; set; } | |||
/// <summary> | |||
/// 绩点 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("SCOREPOINT")] | |||
public decimal? ScorePoint { get; set; } | |||
/// <summary> | |||
/// 考试日期 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("TESTDATE")] | |||
public DateTime? TestDate { get; set; } | |||
/// <summary> | |||
/// 是否有效 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("ISINEFFECT")] | |||
public string IsInEffect { get; set; } | |||
/// <summary> | |||
/// 备注 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("REMARK")] | |||
public string Remark { get; set; } | |||
/// <summary> | |||
/// 冲突课程代码 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("CONFLICTLESSONNO")] | |||
public string ConflictLessonNo { get; set; } | |||
/// <summary> | |||
/// 是否重修成绩 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("ISRESTUDY")] | |||
public string IsReStudy { get; set; } | |||
/// <summary> | |||
/// 审查标志 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("CHECKMARK")] | |||
public string CheckMark { get; set; } | |||
/// <summary> | |||
/// 是否选中 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("ISPITCHON")] | |||
public string IsPitchOn { get; set; } | |||
/// <summary> | |||
/// 教师号 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("EMPNO")] | |||
public string EmpNo { get; set; } | |||
/// <summary> | |||
/// 专业教学计划编码 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("TECHPLANNO")] | |||
public string TechPlanNo { get; set; } | |||
/// <summary> | |||
/// 考试性质码(关联表CdTestKind) | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("TESTKINDNO")] | |||
public string TestKindNo { get; set; } | |||
/// <summary> | |||
/// 课程区别码(此编码针对同一课程编号,同一门课程、不同课时、学分的情况而加,由系统自动产生以区分此类课程) | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("PARTCODE")] | |||
public string PartCode { get; set; } | |||
/// <summary> | |||
/// LessonSection | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("LESSONSECTION")] | |||
public string LessonSection { get; set; } | |||
/// <summary> | |||
/// ClassRoomNo | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("CLASSROOMNO")] | |||
public string ClassRoomNo { get; set; } | |||
/// <summary> | |||
/// ClassRoomName | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("CLASSROOMNAME")] | |||
public string ClassRoomName { get; set; } | |||
/// <summary> | |||
/// IsEditable | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("ISEDITABLE")] | |||
public string IsEditable { get; set; } | |||
/// <summary> | |||
/// EditUserId | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("EDITUSERID")] | |||
public string EditUserId { get; set; } | |||
/// <summary> | |||
/// ModifyDate | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("MODIFYDATE")] | |||
public DateTime? ModifyDate { get; set; } | |||
[Column("BEGINMODIFYDATE")] | |||
public DateTime? BeginModifyDate { get; set; } | |||
/// <summary> | |||
/// ModifyUserId | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("MODIFYUSERID")] | |||
public string ModifyUserId { get; set; } | |||
/// <summary> | |||
/// ModifyUserName | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("MODIFYUSERNAME")] | |||
public string ModifyUserName { get; set; } | |||
/// <summary> | |||
/// 学校主键 | |||
/// </summary> | |||
/// <returns></returns> | |||
[Column("F_SCHOOLID")] | |||
public string F_SchoolId { get; set; } | |||
#endregion | |||
#region 扩展操作 | |||
/// <summary> | |||
/// 新增调用 | |||
/// </summary> | |||
public void Create() | |||
{ | |||
} | |||
/// <summary> | |||
/// 编辑调用 | |||
/// </summary> | |||
/// <param name="keyValue"></param> | |||
public void Modify(int? keyValue) | |||
{ | |||
this.ScoreId = keyValue; | |||
} | |||
#endregion | |||
} | |||
} | |||
@@ -338,6 +338,7 @@ | |||
<Compile Include="EducationalAdministration\StuPunishmentTran\StuPunishmentTranEntity.cs" /> | |||
<Compile Include="EducationalAdministration\StuPunishmentTran\StuPunishmentTranIBLL.cs" /> | |||
<Compile Include="EducationalAdministration\StuPunishmentTran\StuPunishmentTranService.cs" /> | |||
<Compile Include="EducationalAdministration\StuScoreExperiment\StuScoreExperimentEntity.cs" /> | |||
<Compile Include="EducationalAdministration\StuScoreNotPass\StuScoreNotPassBLL.cs" /> | |||
<Compile Include="EducationalAdministration\StuScoreNotPass\StuScoreNotPassEntity.cs" /> | |||
<Compile Include="EducationalAdministration\StuScoreNotPass\StuScoreNotPassIBLL.cs" /> | |||