浏览代码

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

新疆警官学校中职
dyy 1年前
父节点
当前提交
255a427c05
共有 2 个文件被更改,包括 3 次插入1 次删除
  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 查看文件

@@ -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 查看文件

@@ -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;


正在加载...
取消
保存