|
|
@@ -81,7 +81,7 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement |
|
|
|
{ |
|
|
|
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) |
|
|
|
) t |
|
|
|