WmspSendReceiveMapper.java 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. package com.steerinfo.dil.mapper;
  2. import com.steerinfo.dil.model.WmspSendReceive;
  3. import com.steerinfo.framework.mapper.IBaseMapper;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Select;
  6. import java.math.BigDecimal;
  7. import java.util.List;
  8. import java.util.Map;
  9. @Mapper
  10. public interface WmspSendReceiveMapper extends IBaseMapper<WmspSendReceive, BigDecimal> {
  11. List<Map<String, Object>> selectWmspSendReceive(Map<String, Object> mapValue);
  12. @Select("select seq_WMSP_SEND_RECEIVE.nextval from dual")
  13. BigDecimal getSendReceiveId();
  14. //更改今天的入库
  15. int updateSendReceiveThisdayInbound(Map<String,Object> map);
  16. //查询昨天的库存
  17. BigDecimal getSendReceiveLastdayInventory(Map<String, Object> map);
  18. //更改今天出库
  19. int updateSendReceiveThisdayOutbound(Map<String, Object> map);
  20. //今天入库
  21. BigDecimal selectSendReceiveThisdayInbound(Map<String,Object> map);
  22. //今天出库
  23. BigDecimal selectSendReceiveThisdayOutbound(Map<String,Object> map);
  24. //根据物资钢材id查询物资大类id
  25. BigDecimal getMaterialId(BigDecimal materialSteelId);
  26. //实时更改库存
  27. int updateSendReceiveThisdayInventory(Map<String,Object> map);
  28. //统计前一天的入库总数
  29. BigDecimal countSndReceiveThisdayInbound(Map<String, Object> map2);
  30. //统计前一天的出库总数
  31. BigDecimal countSendReceiveThisdayOutbound(Map<String, Object> map2);
  32. int getTodaySendReceiveCount();
  33. }