Browse Source

学生日常考核获取学生非空判断

长阳分支推送专用
ndbs 2 years ago
parent
commit
f90361c27c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationService.cs View File

@@ -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<Acc_DormitoryBuildEntity>(sql);
}
catch (Exception ex)


Loading…
Cancel
Save