From e6ee956618b3c1a6371a6c22dfbb70868dbd3f17 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期六, 07 十月 2023 15:23:06 +0800 Subject: [PATCH] 后台代码 --- cloud-server-activity/src/main/java/com/dsh/activity/mapper/PointsMerchandiseMapper.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/cloud-server-activity/src/main/java/com/dsh/activity/mapper/PointsMerchandiseMapper.java b/cloud-server-activity/src/main/java/com/dsh/activity/mapper/PointsMerchandiseMapper.java index 4e3fe33..59743fe 100644 --- a/cloud-server-activity/src/main/java/com/dsh/activity/mapper/PointsMerchandiseMapper.java +++ b/cloud-server-activity/src/main/java/com/dsh/activity/mapper/PointsMerchandiseMapper.java @@ -1,7 +1,14 @@ package com.dsh.activity.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.dsh.activity.entity.PointsMerchandise; +import com.dsh.activity.model.CoachChangeStateVO; +import com.dsh.activity.model.request.IntegralGoodsOfSearch; +import org.apache.ibatis.annotations.Param; + +import java.util.List; +import java.util.Map; /** * <p> @@ -13,4 +20,15 @@ */ public interface PointsMerchandiseMapper extends BaseMapper<PointsMerchandise> { + List<Map<String, Object>> queryGoodsListOfSearch(@Param("name")String name, + @Param("type")Integer type, + @Param("redemptionMethod")Integer redemptionMethod, + @Param("userPopulation") Integer userPopulation, + @Param("activeStatus") Integer activeStatus, + @Param("state") Integer state, + @Param("page") Page<Map<String, Object>> page); + + List<Map<String, Object>> ticketList(@Param("query") IntegralGoodsOfSearch ofSearch); + + int changeState(@Param("query") CoachChangeStateVO dto); } -- Gitblit v1.7.1