|
|
@ -323,11 +323,10 @@ public class IResidentAndDisabledRepositoryImpl implements IResidentAndDisabledR
|
|
|
|
|
|
|
|
|
|
|
|
BooleanBuilder builder = new BooleanBuilder();
|
|
|
|
BooleanBuilder builder = new BooleanBuilder();
|
|
|
|
builder.and(minSimsa680Sc.msDatagb.eq(dto.getMsDatagb()));
|
|
|
|
builder.and(minSimsa680Sc.msDatagb.eq(dto.getMsDatagb()));
|
|
|
|
|
|
|
|
builder.and(minSimsaUser680Sc.msuUserid.eq(HeaderUtil.getUserId()));
|
|
|
|
// TODO : test를 위하 임시로 코멘트 처리
|
|
|
|
// TODO : 테스트를 위해 임시로 코멘트 처리
|
|
|
|
//builder.and(minSimsaUser680Sc.msuUserid.eq(HeaderUtil.getUserId()));
|
|
|
|
|
|
|
|
// 심의전
|
|
|
|
// 심의전
|
|
|
|
builder.and(minSimsa680Sc.msResult.eq(CtgyConstants.Judge.RESULT_JUDGE_PRE.getCode()));
|
|
|
|
//builder.and(minSimsa680Sc.msResult.eq(CtgyConstants.Judge.RESULT_JUDGE_PRE.getCode()));
|
|
|
|
|
|
|
|
|
|
|
|
return queryFactory
|
|
|
|
return queryFactory
|
|
|
|
.select(Projections.fields(
|
|
|
|
.select(Projections.fields(
|
|
|
@ -351,7 +350,7 @@ public class IResidentAndDisabledRepositoryImpl implements IResidentAndDisabledR
|
|
|
|
.on(minSimsa680Sc.msMaincode.eq(minSimsaUser680Sc.msuMaincode))
|
|
|
|
.on(minSimsa680Sc.msMaincode.eq(minSimsaUser680Sc.msuMaincode))
|
|
|
|
.where(builder)
|
|
|
|
.where(builder)
|
|
|
|
//.groupBy(minSimsa680Sc.msDatagb, minSimsa680Sc.msYear, minSimsaUser680Sc.msuUserid, minSimsa680Sc.msChasu, minSimsa680Sc.msSdate, minSimsa680Sc.msStartsi, minSimsa680Sc.msEdate, minSimsa680Sc.msCdate, minSimsa680Sc.msClosesi)
|
|
|
|
//.groupBy(minSimsa680Sc.msDatagb, minSimsa680Sc.msYear, minSimsaUser680Sc.msuUserid, minSimsa680Sc.msChasu, minSimsa680Sc.msSdate, minSimsa680Sc.msStartsi, minSimsa680Sc.msEdate, minSimsa680Sc.msCdate, minSimsa680Sc.msClosesi)
|
|
|
|
.orderBy(minSimsa680Sc.msYear.desc(), minSimsa680Sc.msChasu.desc())
|
|
|
|
.orderBy(minSimsa680Sc.msSdate.asc(), minSimsa680Sc.msEdate.asc(), minSimsa680Sc.msSeq.asc())
|
|
|
|
.fetch();
|
|
|
|
.fetch();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|