Преглед на файлове

迎新获取学号长度有误

临城职教中职
ndbs преди 2 години
родител
ревизия
b35d67f6e3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuVolunteer/StuVolunteerService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuVolunteer/StuVolunteerService.cs Целия файл

@@ -339,7 +339,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
{ {
//当前学年 //当前学年
var year = Common.GetSemesterAndYear().AcademicYearShort.Substring(0, 2); var year = Common.GetSemesterAndYear().AcademicYearShort.Substring(0, 2);
var StuNo = year + "36442000004";
var StuNo = year + "3642000004";
var maxSql = $"select Max(StuNo) as StuNo from StuVolunteer where StuNo like '{StuNo}%'"; var maxSql = $"select Max(StuNo) as StuNo from StuVolunteer where StuNo like '{StuNo}%'";
var maxStuNo = this.BaseRepository("CollegeMIS").FindObject(maxSql); var maxStuNo = this.BaseRepository("CollegeMIS").FindObject(maxSql);
if (maxStuNo == null || string.IsNullOrEmpty(maxStuNo.ToString())) if (maxStuNo == null || string.IsNullOrEmpty(maxStuNo.ToString()))


Зареждане…
Отказ
Запис