package zy.cloud.wms.manager.mapper;
|
|
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
import org.springframework.stereotype.Repository;
|
import zy.cloud.wms.manager.entity.LocDetl;
|
|
import java.util.List;
|
import java.util.Map;
|
|
@Mapper
|
@Repository
|
public interface LocDetlMapper extends BaseMapper<LocDetl> {
|
|
List<LocDetl> listByPage(Map<String, Object> map);
|
|
Integer listByPageCount(Map<String, Object> map);
|
|
LocDetl selectByLocNoAndMatnr(@Param("nodeId")Long nodeId, @Param("matnr")String martnr);
|
|
Double selectCountByMatnr(@Param("matnr") String matnr, @Param("hostId") Long hostId);
|
|
Integer reduceStock(@Param("nodeId") Long nodeId, @Param("matnr") String matnr, @Param("anfme") Double anfme);
|
|
Integer incrementStock(@Param("nodeId") Long nodeId, @Param("matnr") String matnr, @Param("anfme") Double anfme);
|
|
Integer removeStock(@Param("nodeId") Long nodeId, @Param("matnr") String matnr);
|
|
List<LocDetl> selectByPrior(@Param("hostId") Long hostId, @Param("matnr") String matnr, @Param("nodeId") Long nodeId);
|
|
List<LocDetl> getLocDetlStatis();
|
|
List<LocDetl> selectByNodeUuid(@Param("uuid") String uuid, @Param("hostId") Long hostId);
|
|
List<LocDetl> getStockStatis(Map<String, Object> map);
|
|
Integer getStockStatisCount(Map<String, Object> map);
|
|
List<LocDetl> getStockStatisExcel(Long hostId);
|
|
}
|