decode (1) 썸네일형 리스트형 queryDSL case When, decode new CaseBuilder() .when(~) .then(~) .otherwise() .as(~) new CaseBuilder() .when(pointEvent.pointStatus.in(PointStatus.USE, PointStatus.USE_CANCEL)) .then(pointEvent.pointAmount.multiply(-1)) .otherwise(pointEvent.pointAmount).as("pointAmount") 이전 1 다음