|
|
@@ -202,10 +202,10 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers |
|
|
|
//var endDate = endTime ?? Common.CalculateLastDateOfWeek(DateTime.Today).ToString("yyyy-MM-dd"); |
|
|
|
//开始时间 |
|
|
|
var startdate = string.IsNullOrEmpty(startTime) ? DateTime.Today : Convert.ToDateTime(startTime); |
|
|
|
var startDate = Common.CalculateFirstDateOfWeek(startdate).ToString("yyyy-MM-dd"); |
|
|
|
var endDate = Common.CalculateLastDateOfWeek(startdate).ToString("yyyy-MM-dd"); |
|
|
|
var startDate = TwoDevelopment.EducationalAdministration.Common.CalculateFirstDateOfWeek(startdate).ToString("yyyy-MM-dd"); |
|
|
|
var endDate = TwoDevelopment.EducationalAdministration.Common.CalculateLastDateOfWeek(startdate).ToString("yyyy-MM-dd"); |
|
|
|
|
|
|
|
var semesterAndYear = Common.GetSemesterAndYear(startDate); |
|
|
|
var semesterAndYear = TwoDevelopment.EducationalAdministration.Common.GetSemesterAndYear(startDate); |
|
|
|
var strAcademicYear = semesterAndYear.AcademicYearLong; |
|
|
|
var strSemester = semesterAndYear.Semester; |
|
|
|
|
|
|
@@ -311,10 +311,10 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers |
|
|
|
var userInfo = LoginUserInfo.Get(); |
|
|
|
//开始时间 |
|
|
|
var startdate = string.IsNullOrEmpty(startTime) ? DateTime.Today : Convert.ToDateTime(startTime); |
|
|
|
var startDate = Common.CalculateFirstDateOfWeek(startdate).ToString("yyyy-MM-dd"); |
|
|
|
var endDate = Common.CalculateLastDateOfWeek(startdate).ToString("yyyy-MM-dd"); |
|
|
|
var startDate = TwoDevelopment.EducationalAdministration.Common.CalculateFirstDateOfWeek(startdate).ToString("yyyy-MM-dd"); |
|
|
|
var endDate = TwoDevelopment.EducationalAdministration.Common.CalculateLastDateOfWeek(startdate).ToString("yyyy-MM-dd"); |
|
|
|
|
|
|
|
var semesterAndYear = Common.GetSemesterAndYear(startDate); |
|
|
|
var semesterAndYear = TwoDevelopment.EducationalAdministration.Common.GetSemesterAndYear(startDate); |
|
|
|
var strAcademicYear = semesterAndYear.AcademicYearLong; |
|
|
|
var strSemester = semesterAndYear.Semester; |
|
|
|
|
|
|
@@ -380,10 +380,10 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers |
|
|
|
var userInfo = LoginUserInfo.Get(); |
|
|
|
//开始时间 |
|
|
|
var startdate = string.IsNullOrEmpty(startTime) ? DateTime.Today : Convert.ToDateTime(startTime); |
|
|
|
var startDate = Common.CalculateFirstDateOfWeek(startdate).ToString("yyyy-MM-dd"); |
|
|
|
var endDate = Common.CalculateLastDateOfWeek(startdate).ToString("yyyy-MM-dd"); |
|
|
|
var startDate = TwoDevelopment.EducationalAdministration.Common.CalculateFirstDateOfWeek(startdate).ToString("yyyy-MM-dd"); |
|
|
|
var endDate = TwoDevelopment.EducationalAdministration.Common.CalculateLastDateOfWeek(startdate).ToString("yyyy-MM-dd"); |
|
|
|
|
|
|
|
var semesterAndYear = Common.GetSemesterAndYear(startDate); |
|
|
|
var semesterAndYear = TwoDevelopment.EducationalAdministration.Common.GetSemesterAndYear(startDate); |
|
|
|
var strAcademicYear = semesterAndYear.AcademicYearLong; |
|
|
|
var strSemester = semesterAndYear.Semester; |
|
|
|
|
|
|
|