Pārlūkot izejas kodu

调课

黑龙江艺术高中职
hwh2023 pirms 5 mēnešiem
vecāks
revīzija
fc72434595
7 mainītis faili ar 266 papildinājumiem un 37 dzēšanām
  1. +40
    -9
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ArrangeLessonTermAttemperController.cs
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTermAttemper/Form.cshtml
  3. +37
    -13
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTermAttemper/Form.js
  4. +5
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTermAttemper/FormView.cshtml
  5. +175
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTermAttemper/FormView.js
  6. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ArrangeLessonTermAttemper/ArrangeLessonTermAttemperEntity.cs
  7. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ArrangeLessonTermAttemper/ArrangeLessonTermAttemperService.cs

+ 40
- 9
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ArrangeLessonTermAttemperController.cs Parādīt failu

@@ -139,11 +139,11 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
[AjaxOnly]
public ActionResult SaveForm(string keyValue, string strEntity)
{
//[{"AttemperId":"5b52c7e8-d5f5-4d54-a859-1544b7d62bf6","Day":"2","LessonTime":"23","LessonDate":"2024-03-05","SchooldId":"207fa1a9-160c-4943-a89b-8fa4db0547ce","Academicyear":"23-24","Semester":"2","DeptNo":"01","Deptname":"","MajorNo":"GZ13","LessonNo":"GZ1302006","Curriculum":"编舞技法基础","TeachClassNo":"G2201010303","ClassName":"22高职男班(舞蹈表演)","Empno":"5516","Teacher":"董东洋","ClassRoomNo":"1008","ClassRoom":"教学楼008","LessonSortNo":"1"}]
//JObject jo = (JObject)JsonConvert.DeserializeObject(strEntity);
//[{"AttemperId":"3ec8df23-c045-428c-b37c-c370b73f53ef","Day":"5","LessonTime":"53","LessonDate":"2024-03-08","SchooldId":"207fa1a9-160c-4943-a89b-8fa4db0547ce","Academicyear":"23-24","Semester":"2","DeptNo":"01","Deptname":"","MajorNo":"GZ13","LessonNo":"GZ1303001","Curriculum":"爵士舞","TeachClassNo":"G2201010303","ClassName":"22高职男班(舞蹈表演)","Empno":"2224","Teacher":"魏志勇","ClassRoomNo":"3102","ClassRoom":"舞蹈楼102","LessonSortNo":"1"},{"AttemperId":"e4970ebb-1af5-4298-b03c-f8014e1adb06","Day":"5","LessonTime":"53","LessonDate":"2024-03-08","SchooldId":"207fa1a9-160c-4943-a89b-8fa4db0547ce","Academicyear":"23-24","Semester":"2","DeptNo":"01","Deptname":"","MajorNo":"GZ13","LessonNo":"GZ1302005","Curriculum":"中国古典舞身韵","TeachClassNo":"G2201010303","ClassName":"22高职男班(舞蹈表演)","Empno":"5526","Teacher":"焦晓天","ClassRoomNo":"3102","ClassRoom":"舞蹈楼102","LessonSortNo":"1"}]
//"CreateUserId":"System","CreateUserName":"超级管理员","CreateTime":"2024-06-25 13:14:35","AttemperType":"02","AttemperTimeType":"","NewAcademicYearNo":"","NewSemester":"","NewDeptNo":"","NewMajorNo":"","NewLessonNo":"","NewTeachClassNo":"","NewEmpNo":"","NewClassroomNo":"","AttemperStartTime":"","AttemperEndTime":"","AttemperRemark":"22"
JObject jo = (JObject)JsonConvert.DeserializeObject(strEntity);
ArrangeLessonTermAttemperEntity entity = strEntity.ToObject<ArrangeLessonTermAttemperEntity>();
entity.Details = JsonConvert.SerializeObject(entity.query);
if (entity.AttemperType == "01")
{
//调课
@@ -158,8 +158,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
//换课

}


#region 旧逻辑
//if (entity.AttemperType == "03")
//{
@@ -206,10 +205,42 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
//}
#endregion

foreach (var item in jo["query"])
{
ArrangeLessonTermAttemperEntity itementity = new ArrangeLessonTermAttemperEntity();
itementity.CreateUserId = entity.CreateUserId;
itementity.CreateUserName = entity.CreateUserName;
itementity.CreateTime = entity.CreateTime;
itementity.AttemperRemark = entity.AttemperRemark;
itementity.AttemperType = entity.AttemperType;//调课类型

itementity.NewAcademicYearNo= entity.NewAcademicYearNo;
itementity.NewSemester = entity.NewSemester;
itementity.NewDeptNo = entity.NewDeptNo;
itementity.NewMajorNo = entity.NewMajorNo;
itementity.NewLessonNo = entity.NewLessonNo;
itementity.NewTeachClassNo = entity.NewTeachClassNo;
itementity.NewEmpNo = entity.NewEmpNo;
itementity.NewClassroomNo = entity.NewClassroomNo;

itementity.AcademicYearNo = item["Academicyear"].ToString();
itementity.Semester = item["Semester"].ToString();
itementity.DeptNo = item["DeptNo"].ToString();
itementity.MajorNo = item["MajorNo"].ToString();
itementity.LessonNo = item["LessonNo"].ToString();
itementity.TeachClassNo = item["TeachClassNo"].ToString();
itementity.EmpNo = item["Empno"].ToString();
itementity.ClassroomNo = item["ClassRoomNo"].ToString();

entity.Status = 0;
entity.CheckStatus = 0;
arrangeLessonTermAttemperIBLL.SaveEntity(keyValue, entity);
itementity.AttemperTimeType = entity.AttemperTimeType;//调度时限

itementity.AttemperStartTime = entity.AttemperStartTime;
itementity.AttemperEndTime = entity.AttemperEndTime;
itementity.Status = 0;
itementity.CheckStatus = 0;
arrangeLessonTermAttemperIBLL.SaveEntity(keyValue, itementity);
}

return Success("保存成功!");
}


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTermAttemper/Form.cshtml Parādīt failu

@@ -57,7 +57,7 @@
<div class="lr-form-item-title">校区<font face="宋体">*</font></div>
<div id="F_SchoolId" readonly isvalid="yes" checkexpession="NotNull"></div>
</div>*@
<div id="sourcedata"class="col-xs-12 lr-form-item lr-form-item-grid">
<div id="sourcedata" class="col-xs-12 lr-form-item lr-form-item-grid">
<div id="gridtable2"></div>
@*<div class="col-xs-4 lr-form-item" data-table="ArrangeLessonTermAttemper">
<div class="lr-form-item-title">学年<font face="宋体">*</font></div>


+ 37
- 13
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTermAttemper/Form.js Parādīt failu

@@ -210,10 +210,34 @@ var bootstrap = function ($, learun) {
});
$('#TeachClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#NewTeachClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#EmpNo').lrDataSourceSelect({ code: 'EmpInfo', value: 'empno', text: 'empname' });
$('#NewEmpNo').lrDataSourceSelect({ code: 'EmpInfo', value: 'empno', text: 'empname' });
$('#ClassroomNo').lrDataSourceSelect({ code: 'ClassRoomInfo', value: 'classroomno', text: 'classroomname' });
$('#NewClassroomNo').lrDataSourceSelect({ code: 'ClassRoomInfo', value: 'classroomno', text: 'classroomname' });
$('#EmpNo').lrselect({
allowSearch: true,
url: top.$.rootUrl + '/PersonnelManagement/TimeTable/GetTeacherData',
value: 'value',
text: 'text'
});
//$('#EmpNo').lrDataSourceSelect({ code: 'EmpInfo', value: 'empno', text: 'empname' });
//$('#NewEmpNo').lrDataSourceSelect({ code: 'EmpInfo', value: 'empno', text: 'empname' });
$('#NewEmpNo').lrselect({
allowSearch: true,
url: top.$.rootUrl + '/PersonnelManagement/TimeTable/GetTeacherData',
value: 'value',
text: 'text'
});
//$('#ClassroomNo').lrDataSourceSelect({ code: 'ClassRoomInfo', value: 'classroomno', text: 'classroomname' });
$('#ClassroomNo').lrselect({
allowSearch: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'ClassRoomInfo',
value: 'classroomno',
text: 'classroomname'
});
//$('#NewClassroomNo').lrDataSourceSelect({ code: 'ClassRoomInfo', value: 'classroomno', text: 'classroomname' });
$('#NewClassroomNo').lrselect({
allowSearch: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'ClassRoomInfo',
value: 'classroomno',
text: 'classroomname'
});
//调度开始时间
$('#AttemperStartTime').lrselect({ allowSearch: true });
//调度结束时间
@@ -364,7 +388,7 @@ var bootstrap = function ($, learun) {
}
});
}
},
},
{
label: "班级", name: "TeachClassNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
@@ -477,14 +501,14 @@ var bootstrap = function ($, learun) {
bindDataNew = function (temprow) {
if (!!temprow) {
//$('#NewF_SchoolId').lrselectSet(temprow.schooldId);
$('#NewAcademicYearNo').lrselectSet(temprow.academicyear);
$('#NewSemester').lrselectSet(temprow.semester);
$('#NewDeptNo').lrselectSet(temprow.deptNo);
$('#NewMajorNo').lrselectSet(temprow.majorNo);
$('#NewLessonNo').lrselectSet(temprow.lessonNo);
$('#NewTeachClassNo').lrselectSet(temprow.teachClassNo);
$('#NewEmpNo').lrselectSet(temprow.empno);
$('#NewClassroomNo').lrselectSet(temprow.classRoomNo);
$('#NewAcademicYearNo').lrselectSet(temprow[0].Academicyear);
$('#NewSemester').lrselectSet(temprow[0].Semester);
$('#NewDeptNo').lrselectSet(temprow[0].DeptNo);
$('#NewMajorNo').lrselectSet(temprow[0].MajorNo);
$('#NewLessonNo').lrselectSet(temprow[0].LessonNo);
$('#NewTeachClassNo').lrselectSet(temprow[0].TeachClassNo);
$('#NewEmpNo').lrselectSet(temprow[0].Empno);
$('#NewClassroomNo').lrselectSet(temprow[0].ClassRoomNo);
}
};
// 验证数据是否填写完整


+ 5
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTermAttemper/FormView.cshtml Parādīt failu

@@ -60,8 +60,10 @@
<div class="lr-form-item-title">校区<font face="宋体">*</font></div>
<div id="F_SchoolId" readonly isvalid="yes" checkexpession="NotNull"></div>
</div>*@
<div id="sourcedata">
<div class="col-xs-4 lr-form-item" data-table="ArrangeLessonTermAttemper">
<div id="sourcedata" class="col-xs-12 lr-form-item lr-form-item-grid">

<div id="gridtable2"></div>
@*<div class="col-xs-4 lr-form-item" data-table="ArrangeLessonTermAttemper">
<div class="lr-form-item-title">学年<font face="宋体">*</font></div>
<div id="AcademicYearNo" class="olddata" readonly isvalid="yes" checkexpession="NotNull"></div>
</div>
@@ -92,7 +94,7 @@
<div class="col-xs-4 lr-form-item" data-table="ArrangeLessonTermAttemper">
<div class="lr-form-item-title">教室<font face="宋体">*</font></div>
<div id="ClassroomNo" class="olddata" readonly isvalid="yes" checkexpession="NotNull"></div>
</div>
</div>*@
</div>
<!--表格-->
<div class="col-xs-12 lr-form-item lr-form-item-grid" id="oldgridtable" style="display:none">


+ 175
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTermAttemper/FormView.js Parādīt failu

@@ -29,6 +29,7 @@ var bootstrap = function ($, learun) {
page.bindSelect();
page.bind();
page.initData();
page.initGird();
},
query: function () {
var p = {};
@@ -184,11 +185,34 @@ var bootstrap = function ($, learun) {
text: 'text',
});
$('#TeachClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#NewTeachClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#EmpNo').lrDataSourceSelect({ code: 'EmpInfo', value: 'empno', text: 'empname' });
$('#NewEmpNo').lrDataSourceSelect({ code: 'EmpInfo', value: 'empno', text: 'empname' });
$('#ClassroomNo').lrDataSourceSelect({ code: 'ClassRoomInfo', value: 'classroomno', text: 'classroomname' });
$('#NewClassroomNo').lrDataSourceSelect({ code: 'ClassRoomInfo', value: 'classroomno', text: 'classroomname' });
$('#NewTeachClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' }); $('#EmpNo').lrselect({
allowSearch: true,
url: top.$.rootUrl + '/PersonnelManagement/TimeTable/GetTeacherData',
value: 'value',
text: 'text'
});
//$('#EmpNo').lrDataSourceSelect({ code: 'EmpInfo', value: 'empno', text: 'empname' });
//$('#NewEmpNo').lrDataSourceSelect({ code: 'EmpInfo', value: 'empno', text: 'empname' });
$('#NewEmpNo').lrselect({
allowSearch: true,
url: top.$.rootUrl + '/PersonnelManagement/TimeTable/GetTeacherData',
value: 'value',
text: 'text'
});
//$('#ClassroomNo').lrDataSourceSelect({ code: 'ClassRoomInfo', value: 'classroomno', text: 'classroomname' });
$('#ClassroomNo').lrselect({
allowSearch: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'ClassRoomInfo',
value: 'classroomno',
text: 'classroomname'
});
//$('#NewClassroomNo').lrDataSourceSelect({ code: 'ClassRoomInfo', value: 'classroomno', text: 'classroomname' });
$('#NewClassroomNo').lrselect({
allowSearch: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'ClassRoomInfo',
value: 'classroomno',
text: 'classroomname'
});
},
initData: function () {
@@ -214,6 +238,19 @@ var bootstrap = function ($, learun) {
$('#NewClassroomNo').siblings('div').html('教室');
$('#NewEmpNo').attr('readonly', 'readonly');
$('#NewClassroomNo').attr('readonly', 'readonly');
//
var tabledata = [{
Id: data[id].Id,
Academicyear: data[id].AcademicYearNo,
Semester: data[id].Semester,
DeptNo: data[id].DeptNo,
MajorNo: data[id].MajorNo,
LessonNo: data[id].LessonNo,
TeachClassNo: data[id].TeachClassNo,
Empno: data[id].EmpNo,
ClassRoomNo: data[id].ClassroomNo
}]
$('#gridtable2').jfGridSet('refreshdata', tabledata);//.attr("data-val", temprow)
if (data[id].AttemperType == "01") {
$('.AttemperTypeTiao').show();
$("#AttemperTimeType").attr("isvalid", "yes");
@@ -286,7 +323,127 @@ var bootstrap = function ($, learun) {
}
});
}
}
},
initGird: function () {
//{"AltId":"c7c2e0dc-12c5-4742-ba27-f8084fa712eb","day":"2","lessonTime":"21","lessonDate":"2024-06-11","schooldId":"207fa1a9-160c-4943-a89b-8fa4db0547ce","academicyear":"23-24","semester":"2","deptNo":"06","deptname":"","majorNo":"GZ02","lessonNo":"GZ0202999","curriculum":"音乐表演(民族乐器演奏方向)专业主课","teachClassNo":"G2306010301","className":"2301班(器乐系)","empno":"1132","teacher":"吴权喜","classRoomNo":"1012","classRoom":"音乐楼012","lessonSortNo":"1"}
$('#gridtable2').jfGrid({
headData: [
{ label: "学年", name: "Academicyear", width: 100, align: "left" },
{ label: "学期", name: "Semester", width: 100, align: "left" },
{
label: "系部", name: "DeptNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo',
key: value,
keyId: 'deptno',
callback: function (_data) {
callback(_data['deptname']);
}
});
}
},
{
label: "专业", name: "MajorNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
key: value,
keyId: 'majorno',
callback: function (_data) {
callback(_data['majorname']);
}
});
}
},
{
label: "课程", name: "LessonNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'LessonInfo',
key: value,
keyId: 'lessonno',
callback: function (_data) {
callback(_data['lessonname']);
}
});
}
},
{
label: "班级", name: "TeachClassNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'bjsj',
key: value,
keyId: 'classno',
callback: function (_data) {
callback(_data['classname']);
}
});
}
},
{
label: "教师", name: "Empno", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'EmpInfo',
key: value,
keyId: 'empno',
callback: function (_data) {
callback(_data['empname']);
}
});
}
},
{
label: "教室", name: "ClassRoomNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'ClassRoomInfo',
key: value,
keyId: 'classroomno',
callback: function (_data) {
callback(_data['classroomname']);
}
});
}
},
],
mainId: 'Id',
isPage: false,
//sord: 'desc',
//sidx: 'CreateTime'
});
//$('#gridtable').jfGrid({
// headData: [
// { label: "日期", name: "time", width: 100, align: "left" },
// { label: "节次", name: "jieci", width: 100, align: "left" },
// { label: "课程", name: "curriculum", width: 100, align: "left" },
// { label: "班级", name: "ClassName", width: 100, align: "left" },
// { label: "教师", name: "EmpName", width: 100, align: "left" },
// { label: "教室", name: "classRoom", width: 100, align: "left" },
// ],
// mainId: 'Id',
// isPage: true,
// sord: 'desc',
// sidx: 'CreateTime'
//});
//$('#gridtable1').jfGrid({
// headData: [
// { label: "日期", name: "time", width: 100, align: "left" },
// { label: "节次", name: "jieci", width: 100, align: "left" },
// { label: "课程", name: "curriculum", width: 100, align: "left" },
// { label: "班级", name: "ClassName", width: 100, align: "left" },
// { label: "教师", name: "EmpName", width: 100, align: "left" },
// { label: "教室", name: "classRoom", width: 100, align: "left" },
// ],
// mainId: 'Id',
// isPage: true,
// sord: 'desc',
// sidx: 'CreateTime'
//});
},
};
bindData = function (temprow) {
if (!!temprow) {
@@ -357,6 +514,18 @@ var bootstrap = function ($, learun) {
$('#NewClassroomNo').siblings('div').html('教室');
$('#NewEmpNo').attr('readonly', 'readonly');
$('#NewClassroomNo').attr('readonly', 'readonly');
var tabledata = [{
Id: data[id].Id,
Academicyear: data[id].AcademicYearNo,
Semester: data[id].Semester,
DeptNo: data[id].DeptNo,
MajorNo: data[id].MajorNo,
LessonNo: data[id].LessonNo,
TeachClassNo: data[id].TeachClassNo,
Empno: data[id].EmpNo,
ClassRoomNo: data[id].ClassroomNo
}]
$('#gridtable2').jfGridSet('refreshdata', tabledata);//.attr("data-val", temprow)
if (data[id].AttemperType == "01") {
$('.AttemperTypeTiao').show();
$("#AttemperTimeType").attr("isvalid", "yes");


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ArrangeLessonTermAttemper/ArrangeLessonTermAttemperEntity.cs Parādīt failu

@@ -170,11 +170,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// </summary>
[Column("PROCESSID")]
public string ProcessId { get; set; }
/// <summary>
/// Details
/// </summary>
[Column("DETAILS")]
public string Details { get; set; }
///// <summary>
///// Details
///// </summary>
//[Column("DETAILS")]
//public string Details { get; set; }
#endregion

#region 扩展操作


+ 3
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ArrangeLessonTermAttemper/ArrangeLessonTermAttemperService.cs Parādīt failu

@@ -413,6 +413,9 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
//StuSelectLessonList
//db.ExecuteBySql($"update StuSelectLessonList set CheckMark='0' where F_SchoolId='{entity.F_SchoolId}' and AcademicYearNo='{entity.AcademicYearNo}' and Semester='{entity.Semester}' and DeptNo='{entity.DeptNo}' and MajorNo='{entity.MajorNo}' and LessonNo='{entity.LessonNo}' and TeachClassNo='{entity.TeachClassNo}' and EmpNo='{entity.EmpNo}' ");
db.ExecuteBySql($"update StuSelectLessonList set CheckMark='0' where AcademicYearNo='{entity.AcademicYearNo}' and Semester='{entity.Semester}' and DeptNo='{entity.DeptNo}' and MajorNo='{entity.MajorNo}' and LessonNo='{entity.LessonNo}' and TeachClassNo='{entity.TeachClassNo}' and EmpNo='{entity.EmpNo}' ");

//ArrangeLessonTerm
//db.ExecuteBySql($"update ArrangeLessonTerm set CheckMark='0' where F_SchoolId='{entity.F_SchoolId}' and AcademicYearNo='{entity.AcademicYearNo}' and Semester='{entity.Semester}' and DeptNo='{entity.DeptNo}' and MajorNo='{entity.MajorNo}' and LessonNo='{entity.LessonNo}' and TeachClassNo like '%{entity.TeachClassNo}%' and EmpNo='{entity.EmpNo}' and ClassroomNo='{entity.ClassroomNo}' ");
}
else if (entity.AttemperType == "03") //对调
{


Notiek ielāde…
Atcelt
Saglabāt