release- 格式化createMonth

release-2024-04-25
huangyawei 1 month ago
parent 4433fd7685
commit 231d490989

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

Loading…
Cancel
Save