数量扣减

This commit is contained in:
2025-12-11 10:53:28 +08:00
parent 71ee1247c6
commit a722f14045
2 changed files with 13 additions and 6 deletions

View File

@@ -90,7 +90,7 @@ public class MkPointsGoodsServiceImpl extends ServiceImpl<MkPointsGoodsMapper, M
.eq(MkPointsGoodsRecord::getUserId, userId)
.eq(MkPointsGoodsRecord::getShopId, shopId)
.orderBy(MkPointsGoodsRecord::getCreateTime, false);
if (status != null) {
if (StrUtil.isNotBlank(status)) {
if ("售后".equals(status)) {
queryWrapper.and(wrapper -> {
wrapper.eq(MkPointsGoodsRecord::getStatus, "退款中").or(MkPointsGoodsRecord::getStatus).eq("已退款");