whycq0520
2022-03-24 03b41fa7164bb7dc5a8bd17a06cfceed43e65617
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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);
 
}