package com.steerinfo.dil.mapper; import com.steerinfo.dil.model.DilBatch; import com.steerinfo.framework.mapper.IBaseMapper; import java.math.*; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; @Mapper public interface DilBatchMapper extends IBaseMapper { //获取当前序列值+1 @Select("select seq_DIL_BATCH.nextval from dual") BigDecimal selectBatchId(); //展示批次列表 List> getBatchList(Map map); //查询货权转移和提货委托出现的批次id List> getBatchListFortTransfer(Map map); //模糊查询江船船名 List> getShipNameList(String state); //根据用户输入提货联系人模糊查询提货联系人、提货人身份证号、联系电话 Map getPersonByName(String personName); //根据外轮船名和物资名称以及进厂船名查找新增批次是否存在 BigDecimal selectBatchIdByName(Map map); //根据portId查找portName String getPortName(BigDecimal portId); //根据外轮船名和物资名称查找批次主表id是否存在 List> selectBatchIdByForeign(Map map); List> getBatchIdByForeign(Map mapValue); //为装船指令查询批次展示列表 List> getBatchListForInstruction(Map map); // 根据发货通知的用户姓名查找用户联系方式 Map getNoticeContactNumberByPerson(String personName); List> findBatchForBind(Map map); }