Просмотр исходного кода

学生归宿统计调整

临城职教中职
zhangli 2 лет назад
Родитель
Сommit
a0b6885b50
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/DormitoryReturn/DormitoryReturnService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/DormitoryReturn/DormitoryReturnService.cs Просмотреть файл

@@ -81,7 +81,7 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement
{ {
try try
{ {
string sql = @"select t.isreturn,a.Dept,a.Major,a.class from
string sql = @"select (case t.isreturn when 1 then 1 else 0 end) as isreturn,a.Dept,a.Major,a.class from
( (
select parentid,isreturn from [dbo].[Acc_DormitoryBuild] where BuildType='5' and (studentid is not null and len(studentid)>0) select parentid,isreturn from [dbo].[Acc_DormitoryBuild] where BuildType='5' and (studentid is not null and len(studentid)>0)
) t ) t


Загрузка…
Отмена
Сохранить