From d28ee89464071e2c2524e771f07016cff32ae3fa Mon Sep 17 00:00:00 2001 From: ndbs Date: Fri, 28 Oct 2022 17:32:46 +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=20=E5=AD=A6=E7=94=9F?= 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 0f028f700..d56b21af3 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 + "' and zb.StudentID is not null "; + where zb.BuildType = '5' and zb.ParentID = '" + keyValue + "' and (fb.stuNo is not null and fb.stuname is not null )"; return this.BaseRepository("CollegeMIS").FindList(sql); } catch (Exception ex)