获取公开课

master
xiaochanghai 11 months ago
parent 6235b62413
commit 252086bd1c
  1. 2
      Tiobon.Core.Model/ViewModels/Extend/CoursePublicSearchField.cs
  2. 2
      Tiobon.Core.Services/Ghre/Ghre_CourseServices.cs

@ -36,6 +36,6 @@ public class CoursePublic
public string ExamDate { get; set; }
public string ExamBeginDate { get; set; }
public string ExamEndDate { get; set; }
public string DisableBtn { get; set; }
public bool? DisableBtn { get; set; }
public string BtnActionType { get; set; } = "Add";
}

@ -498,7 +498,7 @@ public class Ghre_CourseServices : BaseServices<Ghre_Course, Ghre_CourseDto, Ins
ExamBeginDate,
NULL
ExamEndDate,
'false'
CAST('0' AS BIT)
DisableBtn
FROM Ghre_Course A
WHERE A.IsOPen = 'true' AND A.IsEnable = 1";

Loading…
Cancel
Save