用户积分列表
This commit is contained in:
@@ -70,7 +70,7 @@ public class MkPointsUserServiceImpl extends ServiceImpl<MkPointsUserMapper, MkP
|
||||
|
||||
@Override
|
||||
public List<PointsShopListVO> pointsShopList(Long userId, String shopName) {
|
||||
return listAs(query().select(MkPointsUser::getId, MkPointsUser::getShopId).select(ShopInfo::getShopName, ShopInfo::getLogo, ShopInfo::getCoverImg)
|
||||
return listAs(query().select(MkPointsUser::getId, MkPointsUser::getShopId, MkPointsUser::getPointBalance).select(ShopInfo::getShopName, ShopInfo::getLogo, ShopInfo::getCoverImg)
|
||||
.eq(MkPointsUser::getUserId, userId).leftJoin(ShopInfo.class).on(MkPointsUser::getShopId, ShopInfo::getId),
|
||||
PointsShopListVO.class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user