|  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; | 
|---|
|  |  |  | import com.mzl.flower.dto.request.point.CustomerPointDetailQueryDTO; | 
|---|
|  |  |  | import com.mzl.flower.dto.request.point.PointGoodQueryDTO; | 
|---|
|  |  |  | import com.mzl.flower.dto.response.point.CustomerPointDetailVO; | 
|---|
|  |  |  | import com.mzl.flower.dto.response.point.PointGoodVO; | 
|---|
|  |  |  | import com.mzl.flower.dto.response.point.ExpiredPointDTO; | 
|---|
|  |  |  | import com.mzl.flower.entity.point.CustomerPointDetail; | 
|---|
|  |  |  | import com.mzl.flower.entity.point.PointGood; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  | import org.springframework.stereotype.Repository; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.time.LocalDate; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author fanghaowei | 
|---|
|  |  |  | * @version version2.0 | 
|---|
|  |  |  | * @className CustomerPointDetailMapper | 
|---|
|  |  |  | * @date 2024/8/29 | 
|---|
|  |  |  | * @description CustomerPointDetailMapper | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @SuppressWarnings("ALL") | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Repository | 
|---|
|  |  |  | public interface CustomerPointDetailMapper extends BaseMapper<CustomerPointDetail> { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<CustomerPointDetailVO> queryPage(@Param("dto") CustomerPointDetailQueryDTO dto, Page page); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ExpiredPointDTO> tongjiExpiredPoint(@Param("lastYear") LocalDate lastYear,@Param("userId") String userId); | 
|---|
|  |  |  | } | 
|---|