自动化立体仓库 - WMS系统
1
zhang
2025-07-06 e57e89707d57d0af0ff8ed9f470f7450105ed4c0
src/main/java/com/zy/asrs/service/impl/AgvLocDetlServiceImpl.java
@@ -199,8 +199,12 @@
    /*
    更新库存明细
     */
    public void updateStock(String sourceLoc, String targetLoc) {
        this.baseMapper.updateStock(sourceLoc, targetLoc);
    public void updateStock(String sourceLoc, String targetLoc,Long userId) {
        if (Cools.isEmpty(userId)){
            this.baseMapper.updateStock(sourceLoc, targetLoc);
        }else {
            this.baseMapper.updateStock2(sourceLoc, targetLoc, userId);
        }
    }
    public Page<AgvLocDetl> getStockStatis(Page<AgvLocDetl> page) {