Bladeren bron

【修改】学籍异动转入:对异动表非空字段StuId赋值;

新疆警官学校中职
dyy 1 jaar geleden
bovenliggende
commit
255a427c05
2 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuTransferInfo/StuTransferInfoService.cs

+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs Bestand weergeven

@@ -1,5 +1,6 @@
using Learun.Application.TwoDevelopment.EducationalAdministration;
using Learun.Util;
using System;
using System.Collections.Generic;
using System.Data;
using System.Web.Mvc;
@@ -176,6 +177,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
StuTransferInfoEntity entity = strEntity.ToObject<StuTransferInfoEntity>();
entity.AnomalousType = "04";
entity.ChangeReason = "转入";
entity.StuId= Guid.NewGuid().ToString();
stuTransferInfoIBLL.SaveEntity(keyValue, entity);
return Success("保存成功!");
}


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuTransferInfo/StuTransferInfoService.cs Bestand weergeven

@@ -842,7 +842,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
case "04": //转入
#region 学籍表加数据
var stuInfoBasicEntity = new StuInfoBasicEntity();
stuInfoBasicEntity.Create();
stuInfoBasicEntity.StuId = upTrua.StuId;
stuInfoBasicEntity.StuNo = upTrua.StuNo;
stuInfoBasicEntity.StuName = upTrua.StuName;
stuInfoBasicEntity.DeptNo = upTrua.DeptNo;


Laden…
Annuleren
Opslaan