会员积分问题修复
This commit is contained in:
parent
732e780db4
commit
5afe58e086
|
|
@ -38,7 +38,7 @@ public class PointsExchangeRecordParam implements Serializable {
|
|||
*/
|
||||
private String status;
|
||||
/**
|
||||
* 用户id
|
||||
* 店铺用户id
|
||||
*/
|
||||
private Long userId;
|
||||
private Long shopUserId;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,8 +63,8 @@ public class PointsExchangeRecordServiceImpl extends ServiceImpl<PointsExchangeR
|
|||
if (StrUtil.isNotEmpty(param.getStatus())) {
|
||||
queryWrapper.eq(PointsExchangeRecord::getStatus, param.getStatus());
|
||||
}
|
||||
if (ObjUtil.isNotNull(param.getUserId())) {
|
||||
queryWrapper.eq(PointsExchangeRecord::getShopUserId, param.getUserId());
|
||||
if (ObjUtil.isNotNull(param.getShopUserId())) {
|
||||
queryWrapper.eq(PointsExchangeRecord::getShopUserId, param.getShopUserId());
|
||||
}
|
||||
if (StrUtil.isNotEmpty(param.getKeywords())) {
|
||||
queryWrapper.and(q -> {
|
||||
|
|
|
|||
Loading…
Reference in New Issue