package com.winsun.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.winsun.bean.Package;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component
public interface PackageMapper extends BaseMapper<Package> {

    @Select("SELECT   cdma_disc_desc as  cdmaDiscDesc   FROM hhr_xyzx_yd_yrym_list GROUP BY cdma_disc_desc")
    List<Map<String,Object>> packageAll();
}
