diff --git a/luoo_user/src/main/java/com/luoo/user/service/UserPointLogService.java b/luoo_user/src/main/java/com/luoo/user/service/UserPointLogService.java index fee4a7d..5f24bf7 100644 --- a/luoo_user/src/main/java/com/luoo/user/service/UserPointLogService.java +++ b/luoo_user/src/main/java/com/luoo/user/service/UserPointLogService.java @@ -353,7 +353,7 @@ public class UserPointLogService { StringExpression formattedCreateTime = Expressions.stringTemplate( "DATE_FORMAT({0}, {1})", qUserPointLog.createTime, - Expressions.constant("%Y%m") + Expressions.constant("%Y年%m月") ); // 创建分页对象 @@ -405,7 +405,7 @@ public class UserPointLogService { StringExpression formattedCreateTime = Expressions.stringTemplate( "DATE_FORMAT({0}, {1})", qUserPointLog.createTime, - Expressions.constant("%Y%m") + Expressions.constant("%Y年%m月") ); booleanBuilder.and(formattedCreateTime.eq(userPointLogSearchDto.getCreateMonth()));