WmspRestackMakeResultMapper.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package com.steerinfo.dil.mapper;
  2. import com.steerinfo.dil.model.WmspRestackMakeResult;
  3. import com.steerinfo.framework.mapper.IBaseMapper;
  4. import org.apache.ibatis.annotations.MapKey;
  5. import org.apache.ibatis.annotations.Mapper;
  6. import org.apache.ibatis.annotations.Param;
  7. import org.apache.ibatis.annotations.Select;
  8. import java.math.BigDecimal;
  9. import java.util.List;
  10. import java.util.Map;
  11. @Mapper
  12. public interface WmspRestackMakeResultMapper extends IBaseMapper<WmspRestackMakeResult, BigDecimal> {
  13. List<Map<String,Object>> selectRestackMakeResultList(Map<String,Object> mapval);
  14. // 添加库管员填写倒垛单实绩
  15. int insertSelective(WmspRestackMakeResult wmspRestackMakeResult);
  16. @Select("select seq_WMSP_RESTACK_MAKE_RESULT.nextval from dual")
  17. BigDecimal selectMaxId();
  18. //层次号下拉框
  19. @MapKey("")
  20. List<Map<String,Object>> selectGardationNumber(@Param("warehouseid") Integer warehouseid,@Param("stackingId") Integer stackingId);
  21. @MapKey("")
  22. //垛位号下拉框
  23. List<Map<String,Object>> selectStackingId(Integer warehouseid);
  24. List<Map<String,Object>> selectWarehouse();
  25. BigDecimal getWarehouseId();
  26. //查询倒垛单
  27. List<Map<String,Object>> selectRestack(Map<String,Object> mapval);
  28. //渲染数据
  29. List<Map<String,Object>> selectAfterWarehouseByResultId(String resultId);
  30. List<Map<String,Object>> selectAfterstackingByResultId(String resultId);
  31. //根据实绩id查找物资信息
  32. List<Map<String,Object>> selectMaterialInfoByResultId(String resultId);
  33. //根据仓库名称和下发状态查找倒垛单
  34. @MapKey("")
  35. List<Map<String,Object>> selectRestackByWarehouseId(Map<String,Object> map);
  36. //根据钢材物资id查找仓储网格id
  37. Integer selectGridIdByMaterialId(BigDecimal materialSteelId);
  38. BigDecimal selectGridIdByWarehouseAndSatcking(Map<String,Object> map);
  39. //根据倒垛实绩查找倒垛信息
  40. List<Map<String,Object>> selectRestackInfoByResultId(String resultId);
  41. //Pc端展示未下发的倒垛实绩
  42. List<Map<String,Object>> selectRestackForPc(Map<String,Object> map);
  43. //根据实绩id查找中间表id
  44. List<Map<String,Object>> selectMakeMaterialIdByResultId(Integer resultId);
  45. //Pc端展示已下发的倒垛实绩
  46. List<Map<String, Object>> selectRestackForPc2(Map<String, Object> map);
  47. }