|
@@ -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 |
|
|
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 |
|
|
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); |
|
|
return this.BaseRepository("CollegeMIS").FindList<Acc_DormitoryBuildEntity>(sql); |
|
|
} |
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|