|
|
|
@ -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()));
|
|
|
|
|