From 396bd1721ab4d09ba1038cdcbb8a55a712329c37 Mon Sep 17 00:00:00 2001
From: zhangli <1109134334@qq.com>
Date: Thu, 10 Mar 2022 09:21:51 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=94=9F=E5=AE=BF=E8=88=8D=E6=9F=A5?=
=?UTF-8?q?=E7=9C=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../LogisticsManagement/Views/Accommodation/Room.cshtml | 8 ++++----
.../Learun.Application.Web/Learun.Application.Web.csproj | 1 +
.../Accommodation/AccommodationService.cs | 2 +-
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml
index 3caa5325a..1683921af 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml
@@ -79,10 +79,10 @@
姓名 {{floor.stuInfo.StuName}} 学号 {{floor.stuInfo.StuNo}}
-
+ @*
院系 {{floor.stuInfo.DeptNo | filter_Dept}} 专业 {{floor.stuInfo.MajorNo | filter_Major}}
-
查看更多信息
+
查看更多信息
*@
@@ -237,7 +237,7 @@
top.learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
key: value,
- keyId: 'id',
+ keyId: 'majorno',
callback: function (_data) {
result = _data.majorname;
@@ -542,7 +542,7 @@
top.learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
key: value,
- keyId: 'id',
+ keyId: 'majorno',
callback: function (_data) {
result = _data.majorname;
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
index 612e4c23b..544539ce1 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
@@ -7717,6 +7717,7 @@
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationService.cs
index b184d56f2..224268f75 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationService.cs
@@ -624,7 +624,7 @@ a.name as ApartmentName,b.name as UnitName,c.Name as FloorName
floorInfo.dormitory = bed;
if (!string.IsNullOrEmpty(bed.StudentID))
{
- floorInfo.stuInfo = this.BaseRepository("CollegeMIS").FindEntity(a => a.StuId == bed.StudentID);
+ floorInfo.stuInfo = this.BaseRepository("CollegeMIS").FindEntity(a => a.StuNo == bed.StudentID);
}
list.Add(floorInfo);
}