|
|
@@ -1814,9 +1814,12 @@ where ID='{ParentID}' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
//分配床位 |
|
|
|
string sql = $"update Acc_DormitoryBuild set StudentID='{entity.StudentID}' where ID='{entity.ID}'"; |
|
|
|
db.ExecuteBySql(sql); |
|
|
|
if (!string.IsNullOrEmpty(entity.StudentID)) |
|
|
|
{ |
|
|
|
//分配床位 |
|
|
|
string sql = $"update Acc_DormitoryBuild set StudentID='{entity.StudentID}' where ID='{entity.ID}'"; |
|
|
|
db.ExecuteBySql(sql); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
int checkInStu = list.Where(x => x.StudentID != null).Count(); |
|
|
|