From f90361c27c4a93ac9b17b53ebc949ca697ad4015 Mon Sep 17 00:00:00 2001 From: ndbs Date: Wed, 26 Oct 2022 10:53:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=94=9F=E6=97=A5=E5=B8=B8=E8=80=83?= =?UTF-8?q?=E6=A0=B8=E8=8E=B7=E5=8F=96=E5=AD=A6=E7=94=9F=E9=9D=9E=E7=A9=BA?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LogisticsManagement/Accommodation/AccommodationService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ec25aceea..0f028f700 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 @@ -212,7 +212,7 @@ a.name as ApartmentName,b.name as UnitName,c.Name as FloorName { string sql = @"select ID,Name,DNo,StudentID,fb.stuNo,fb.stuname,fb.classno,fb.majorno,fb.deptno from Acc_DormitoryBuild zb left join StuInfoBasic fb on fb.Stuno = zb.StudentID - where zb.BuildType = '5' and zb.ParentID = '" + keyValue + "'"; + where zb.BuildType = '5' and zb.ParentID = '" + keyValue + "' and zb.StudentID is not null "; return this.BaseRepository("CollegeMIS").FindList(sql); } catch (Exception ex)