File tree Expand file tree Collapse file tree
src/main/java/learningFlow/learningFlow_BE Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33import org .springframework .boot .SpringApplication ;
44import org .springframework .boot .autoconfigure .SpringBootApplication ;
5- import org .springframework .context .annotation .Import ;
65import org .springframework .data .jpa .repository .config .EnableJpaAuditing ;
76import org .springframework .scheduling .annotation .EnableScheduling ;
87
Original file line number Diff line number Diff line change 11package learningFlow .learningFlow_BE .repository .collection ;
22
3- import com .querydsl .core .types .ExpressionUtils ;
43import com .querydsl .core .types .OrderSpecifier ;
54import com .querydsl .core .types .dsl .BooleanExpression ;
5+ import com .querydsl .core .types .dsl .Expressions ;
66import com .querydsl .jpa .impl .JPAQueryFactory ;
77import learningFlow .learningFlow_BE .apiPayload .code .status .ErrorStatus ;
88import learningFlow .learningFlow_BE .apiPayload .exception .handler .CollectionHandler ;
@@ -66,7 +66,7 @@ private OrderSpecifier<?>[] createOrderSpecifier(Integer sortType) { // 반환
6666 }
6767
6868 private BooleanExpression createSearchConditions (SearchRequestDTO .SearchConditionDTO condition ) {
69- return ( BooleanExpression ) ExpressionUtils .allOf (
69+ return Expressions .allOf (
7070 createDynamicKeyword (condition .getKeyword ()),
7171 createDynamicInterestFields (condition .getInterestFields ()),
7272 createDynamicPreferMediaType (condition .getPreferMediaType ()),
You can’t perform that action at this time.
0 commit comments