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 fd2bdc06d..17dcd9a7b 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
@@ -152,12 +152,19 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// 主键
public void DeleteEntity(string keyValue)
{
+ var db = this.BaseRepository("CollegeMIS").BeginTrans();
try
{
- this.BaseRepository("CollegeMIS").Delete(t => t.ID == keyValue);
+ var Id = keyValue.Split(',');
+ foreach (var item in Id)
+ {
+ db.Delete(x => x.ID == item);
+ }
+ db.Commit();
}
catch (Exception ex)
{
+ db.Rollback();
if (ex is ExceptionEx)
{
throw;