会员积分问题修复

This commit is contained in:
Tankaikai
2025-03-17 17:31:59 +08:00
parent 732e780db4
commit 5afe58e086
2 changed files with 4 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ public class PointsExchangeRecordParam implements Serializable {
*/ */
private String status; private String status;
/** /**
* 用户id * 店铺用户id
*/ */
private Long userId; private Long shopUserId;
} }

View File

@@ -63,8 +63,8 @@ public class PointsExchangeRecordServiceImpl extends ServiceImpl<PointsExchangeR
if (StrUtil.isNotEmpty(param.getStatus())) { if (StrUtil.isNotEmpty(param.getStatus())) {
queryWrapper.eq(PointsExchangeRecord::getStatus, param.getStatus()); queryWrapper.eq(PointsExchangeRecord::getStatus, param.getStatus());
} }
if (ObjUtil.isNotNull(param.getUserId())) { if (ObjUtil.isNotNull(param.getShopUserId())) {
queryWrapper.eq(PointsExchangeRecord::getShopUserId, param.getUserId()); queryWrapper.eq(PointsExchangeRecord::getShopUserId, param.getShopUserId());
} }
if (StrUtil.isNotEmpty(param.getKeywords())) { if (StrUtil.isNotEmpty(param.getKeywords())) {
queryWrapper.and(q -> { queryWrapper.and(q -> {