课程分类明细
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Index.js
index 4d1f4d643..9cc59a33a 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Index.js
@@ -189,6 +189,7 @@ var bootstrap = function ($, learun) {
{ label: "周理论学时", name: "WeekStudyHour", width: 80, align: "left" },
{ label: "周实验学时", name: "WeekPracticeHour", width: 80, align: "left" },
{ label: "每周课时", name: "TotalStudyHour", width: 80, align: "left" },
+ { label: "总课时", name: "TotalHours", width: 80, align: "left" },
{
label: "是否先修", name: "HaveBeforeLesson", width: 80, align: "left",
formatter: function (cellvalue) {
@@ -274,6 +275,7 @@ var bootstrap = function ($, learun) {
{ label: "周理论学时", name: "WeekStudyHour", width: 80, align: "left" },
{ label: "周实验学时", name: "WeekPracticeHour", width: 80, align: "left" },
{ label: "每周课时", name: "TotalStudyHour", width: 80, align: "left" },
+ { label: "总学时", name: "TotalHours", width: 80, align: "left" },
{
label: "是否先修", name: "HaveBeforeLesson", width: 80, align: "left",
formatter: function (cellvalue) {
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/LessonInfo/LessonInfoEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/LessonInfo/LessonInfoEntity.cs
index 9c57f9bd0..2e8fa4042 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/LessonInfo/LessonInfoEntity.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/LessonInfo/LessonInfoEntity.cs
@@ -11,7 +11,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// 日 期:2019-01-24 17:03
/// 描 述:课程信息管理
///
- public class LessonInfoEntity
+ public class LessonInfoEntity
{
#region 实体成员
///
@@ -45,6 +45,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
[Column("WEEKSTUDYHOUR")]
public decimal? WeekStudyHour { get; set; }
///
+ /// 总学时
+ ///
+ [Column("TOTALHOURS")]
+ public decimal? TotalHours { get; set; }
+ ///
/// 周实验学时
///
[Column("WEEKPRACTICEHOUR")]
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/LessonInfo/LessonInfoService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/LessonInfo/LessonInfoService.cs
index 96e49ebe8..716339fb2 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/LessonInfo/LessonInfoService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/LessonInfo/LessonInfoService.cs
@@ -31,25 +31,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
{
var strSql = new StringBuilder();
strSql.Append("SELECT ");
- strSql.Append(@"
- t.LessonId,
- t.LessonNo,
- t.LessonName,
- t.TeachDeptNo,
- t.TeachMajorNo,
- t.EnName,
- t.StudyScore,
- t.WeekStudyHour,
- t.WeekPracticeHour,
- t.TotalStudyHour,
- t.HaveBeforeLesson,
- t.BeforeLesson,
- t.WhoStudy,
- t.LessonSortNo,
- t.LessonSortDetailNo,
- t.CheckMark,
- t.LessonTypeId,t.F_SchoolId
- ");
+ strSql.Append(@" * ");
strSql.Append(" FROM LessonInfo t ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();