feat: 심사자 - 거주자/장애인 심의대상 조회 반영

dev
minuk926 3 years ago
parent f8741c4416
commit 5df7f26bb1

@ -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();
} }
} }
Loading…
Cancel
Save