diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs index 87e7398a3..e98b91944 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs @@ -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(); entity.AnomalousType = "04"; entity.ChangeReason = "转入"; + entity.StuId= Guid.NewGuid().ToString(); stuTransferInfoIBLL.SaveEntity(keyValue, entity); return Success("保存成功!"); } diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuTransferInfo/StuTransferInfoService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuTransferInfo/StuTransferInfoService.cs index 4fc778d81..75b405d26 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuTransferInfo/StuTransferInfoService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuTransferInfo/StuTransferInfoService.cs @@ -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;