package com.steerinfo.dil.mapper; import com.steerinfo.dil.model.AmsSalePlan; import com.steerinfo.framework.mapper.IBaseMapper; import org.apache.ibatis.annotations.Mapper; import java.math.BigDecimal; import java.util.List; import java.util.Map; @Mapper public interface AmsSalePlanMapper extends IBaseMapper { //查询所有销售计划信息 List> getSalePlanInfo(Map map); //查询主键最大值 BigDecimal selectMaxId(); //获得物资编码 List> getMaterialName(); //获得销售片区名称 List> getAreaName(); //获得要渲染的数据 List> selectByPlanId(BigDecimal planId); //通过主键获取销售片区名称 String getAreaNameByAreaId(BigDecimal areaId); }