package cc.mrbird.febs.mall.mapper; import cc.mrbird.febs.mall.entity.MallAddressInfo; import cc.mrbird.febs.mall.entity.MallSalesman; 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 { IPage selectMallSalesmanListInPage(Page page, MallSalesman mallSalesman); List selectTreeByState( @Param("state") int i); AdminAgentSelectVo agentSelect(@Param("memberId")long id); IPage selectAddressAmountListInPage(Page 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 selectProvince(); IPage selectSalesmanAchieveListInPage(Page page, @Param("record")MallSalesman mallSalesman); List selectSalesmanAchieveProvince(); List selectAdminMemberOrderVoBySalesmanId(@Param("salesmanId")Long salesmanId); }