消费赠券 跳转 id 选中

This commit is contained in:
2025-09-13 11:18:26 +08:00
parent 212f27daa6
commit db50c78049
2 changed files with 14 additions and 10 deletions

View File

@@ -33,6 +33,7 @@ public class MkShopConsumerCouponServiceImpl extends ServiceImpl<MkShopConsumerC
public Page<MkShopConsumerCouponDTO> getConsumerCouponPage(MkShopConsumerCouponDTO param) {
QueryWrapper queryWrapper = new QueryWrapper();
queryWrapper.eq(MkShopConsumerCoupon::getShopId, param.getShopId())
.eq(MkShopConsumerCoupon::getId, param.getId())
.orderBy(MkShopConsumerCoupon::getCreateTime).desc();
Page<MkShopConsumerCouponDTO> pages = pageAs(PageUtil.buildPage(), queryWrapper, MkShopConsumerCouponDTO.class);
pages.getRecords().forEach(item -> {