|  |  |  | 
|---|
|  |  |  | package cc.mrbird.febs.mall.mapper; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import cc.mrbird.febs.mall.entity.MallAddressInfo; | 
|---|
|  |  |  | import cc.mrbird.febs.mall.entity.MallAgentRecord; | 
|---|
|  |  |  | import cc.mrbird.febs.mall.entity.MallSalesman; | 
|---|
|  |  |  | import cc.mrbird.febs.mall.vo.AdminAgentSelectVo; | 
|---|
|  |  |  | import cc.mrbird.febs.mall.vo.AdminMallSalesmansTreeVo; | 
|---|
|  |  |  | import cc.mrbird.febs.mall.vo.*; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.metadata.IPage; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.math.BigDecimal; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public interface MallSalesmanMapper extends BaseMapper<MallSalesman> { | 
|---|
|  |  |  | 
|---|
|  |  |  | List<AdminMallSalesmansTreeVo> selectTreeByState( @Param("state") int i); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | AdminAgentSelectVo agentSelect(@Param("memberId")long id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | IPage<AdminMallAddressInfoVo> selectAddressAmountListInPage(Page<AdminMallAddressInfoVo> page, @Param("record")MallAddressInfo mallAddressInfo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | BigDecimal selectSumOrderAmountByProvinceAndCity(@Param("province")String province, @Param("city")String city); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Integer selectSumOrderCntByProvinceAndCity(@Param("province")String province, @Param("city")String city); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<AdminMallAddressInfoVo> selectProvince(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | IPage<AdminSalesmanAchieveVo> selectSalesmanAchieveListInPage(Page<AdminSalesmanAchieveVo> page, @Param("record")MallSalesman mallSalesman); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<AdminSalesmanAchieveVo> selectSalesmanAchieveProvince(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<AdminMemberOrderVo> selectAdminMemberOrderVoBySalesmanId(@Param("salesmanId")Long salesmanId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | IPage<AdminMallAgentRecordVo> selectAgentAchieveListInPage(Page<AdminMallAgentRecordVo> page, @Param("record")MallAgentRecord mallAgentRecord); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<AdminMallAgentRecordVo> selectAgentAddressProvince(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<String> selectAgentAddressCity(@Param("province")String province); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|