package com.steerinfo.dil.mapper; import com.steerinfo.dil.model.WmspSendReceive; import com.steerinfo.framework.mapper.IBaseMapper; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; import java.math.BigDecimal; import java.util.List; import java.util.Map; @Mapper public interface WmspSendReceiveMapper extends IBaseMapper { List> selectWmspSendReceive(Map mapValue); @Select("select seq_WMSP_SEND_RECEIVE.nextval from dual") BigDecimal getSendReceiveId(); //更改今天的入库 int updateSendReceiveThisdayInbound(Map map); //查询昨天的库存 BigDecimal getSendReceiveLastdayInventory(Map map); //更改今天出库 int updateSendReceiveThisdayOutbound(Map map); //今天入库 BigDecimal selectSendReceiveThisdayInbound(Map map); //今天出库 BigDecimal selectSendReceiveThisdayOutbound(Map map); //根据物资钢材id查询物资大类id BigDecimal getMaterialId(BigDecimal materialSteelId); //实时更改库存 int updateSendReceiveThisdayInventory(Map map); //统计前一天的入库总数 BigDecimal countSndReceiveThisdayInbound(Map map2); //统计前一天的出库总数 BigDecimal countSendReceiveThisdayOutbound(Map map2); int getTodaySendReceiveCount(); }